type EventPublisher = (event: 'open' | 'data_stdout' | 'data_stderr' | 'close', line: string) => void;
interface ExecOptions {
    eventPublisher?: EventPublisher;
    env?: {
        [key: string]: string | undefined;
    };
    cwd?: string;
    errorCodeFile?: string;
    /**
     * Whether to capture output and send it into the event publisher, or stdout if no event publisher is supplied.
     *
     * @default true
     */
    captureOutput?: boolean;
}
/**
 * Execute a command line in a child process
 *
 * Based on the errors it throws, this assumes the process it is executing is a CDK app.
 */
export declare function execInChildProcess(commandAndArgs: string, options?: ExecOptions): Promise<void>;
export {};
//# sourceMappingURL=exec.d.ts.map