13 lines
		
	
	
		
			374 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			374 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| export interface IProcess {
 | |
|     getuid?(): number;
 | |
|     getgid?(): number;
 | |
|     cwd(): string;
 | |
|     platform: string;
 | |
|     nextTick: (callback: (...args: any[]) => void, ...args: any[]) => void;
 | |
|     emitWarning: (message: string, type: string) => void;
 | |
|     env: {};
 | |
| }
 | |
| export declare function createProcess(): IProcess;
 | |
| declare const _default: IProcess;
 | |
| export default _default;
 |