/// <reference types="node" />
/// <reference types="node" />
/// <reference types="bun-types" />
import type { SpawnOptions as NodeSpawnOptions } from 'child_process';
/**
 * CLI Runtime Types
 */
/**
 * Parsed CLI arguments
 */
export interface ParsedArgs {
    profile?: string;
    prompt?: string;
    isDelegation: boolean;
    isContinue: boolean;
    remainingArgs: string[];
}
/**
 * Spawn options for Claude CLI execution
 */
export interface ClaudeSpawnOptions extends NodeSpawnOptions {
    stdio: 'inherit' | 'pipe';
    windowsHide?: boolean;
    shell?: boolean;
    env: NodeJS.ProcessEnv;
}
/**
 * Platform detection
 */
export type Platform = 'darwin' | 'linux' | 'win32';
/**
 * Claude CLI detection result
 */
export interface ClaudeCliInfo {
    path: string;
    version?: string;
    isWindows: boolean;
    needsShell: boolean;
}
/**
 * Exit codes
 */
export declare const ExitCode: {
    readonly SUCCESS: 0;
    readonly GENERIC_ERROR: 1;
    readonly CLAUDE_NOT_FOUND: 127;
    readonly CONFIG_ERROR: 2;
    readonly DELEGATION_ERROR: 3;
    readonly TIMEOUT: 124;
};
export type ExitCode = (typeof ExitCode)[keyof typeof ExitCode];
//# sourceMappingURL=cli.d.ts.map