import execa from "execa";
declare type StdIO = "pipe" | "ignore" | "inherit" | undefined;
export interface LaunchJupyterOpts {
    detached: boolean;
    stdio?: StdIO | (StdIO | number)[];
    env: {
        [key: string]: string;
    };
    cwd?: string;
    cleanupConnectionFile?: boolean;
    cleanup?: boolean;
    preferLocal?: boolean;
    localDir?: string;
    execPath?: string;
    buffer?: boolean;
    reject?: boolean;
    stripFinalNewline?: boolean;
    shell?: boolean | string;
}
export declare function launch_jupyter_kernel(name: string, spawn_options: LaunchJupyterOpts, cached_specs?: any): Promise<{
    spawn: execa.ExecaChildProcess<string>;
    connection_file: string;
    config: any;
    kernel_spec: any;
}>;
export {};
