import type { ClaudeHeadlessCallOptions } from './types.js';
export declare const HEADLESS_ABORTED_MESSAGE = "Claude CLI execution aborted";
export declare const HEADLESS_RATE_LIMIT_MESSAGE = "Claude CLI stream reported a rate limit";
export type ExecError = Error & {
    code?: string | number;
    stdout?: string;
    stderr?: string;
    signal?: NodeJS.Signals | null;
};
export declare function runHeadlessCli(args: string[], options: ClaudeHeadlessCallOptions): Promise<{
    stdout: string;
    stderr: string;
}>;
//# sourceMappingURL=headless-spawn.d.ts.map