import { FS } from '../file/emscriptenFs';
export declare function createMain(Module: any, FS: FS): NativeMain;
export declare type NativeMain = (args: string[]) => NativeResult;
export interface NativeResult {
    returnValue: any;
    stdout: string[];
    stderr: string[];
    error: Error | undefined;
}
