export declare const DEFAULT_TIMEOUT_MS = 30000; export declare const DEFAULT_MAX_STDOUT_BYTES: number; export declare const DEFAULT_MAX_STDOUT_LINES = 2000; export declare const DEFAULT_MAX_STDERR_BYTES: number; export declare const TRUNCATION_MARKER = "\n\n[Warning: CodeGraph output exceeded limit and was truncated. Refine query for specific results.]"; export interface RunCodeGraphOptions { args: string[]; cwd: string; executablePath?: string; signal?: AbortSignal; timeoutMs?: number; maxStdoutBytes?: number; maxStdoutLines?: number; maxStderrTailBytes?: number; } export interface CodeGraphResult { stdout: string; stderr: string; exitCode: number; truncated: boolean; } /** * Spawns the CodeGraph CLI using safe argument-array execution (no shell interpolation). * Enforces timeout, cancellation, output size limits, and normalized error handling. */ export declare function runCodeGraph(options: RunCodeGraphOptions): Promise; //# sourceMappingURL=cli.d.ts.map