import { EventEmitter } from 'node:events';
type StdinLike = EventEmitter & {
    isTTY?: boolean;
    isRaw?: boolean;
    setRawMode?: (mode: boolean) => void;
    resume: () => void;
    pause: () => void;
    removeListener: (event: string, listener: (...args: unknown[]) => void) => StdinLike;
    on: (event: string, listener: (...args: unknown[]) => void) => StdinLike;
};
type ProcessLike = EventEmitter & {
    pid: number;
    stdin: StdinLike;
    once: (event: string, listener: (...args: unknown[]) => void) => ProcessLike;
};
export declare function installImmediateSigintExit(commandName: string | undefined, runtime?: ProcessLike): () => void;
export {};
//# sourceMappingURL=immediateSigintExit.d.ts.map