///
///
import { 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 enum ExitCode {
SUCCESS = 0,
GENERIC_ERROR = 1,
CLAUDE_NOT_FOUND = 127,
CONFIG_ERROR = 2,
DELEGATION_ERROR = 3,
TIMEOUT = 124
}
//# sourceMappingURL=cli.d.ts.map