export interface CommandResult { code: number | null; stdout: string; stderr: string; } export interface CodexMcpEntry { key: string; stdout: string; } export interface ParsedCodexMcpEntry { key: string; command: string | null; args: string[]; } export interface CodexMcpSmokeResult { ok: boolean; toolCount: number; doctorText: string | null; error: string | null; } export declare function runCodex(args: string[]): Promise; export declare function getInstalledCodexMcpEntry(): Promise; export declare function parseCodexMcpEntry(entry: CodexMcpEntry): ParsedCodexMcpEntry; export declare function resolveConfiguredScriptPath(parsed: ParsedCodexMcpEntry, cwd: string): string | null; export declare function pathExists(path: string): Promise; export declare function smokeCodexMcpTools(command: string, args: string[], cwd: string): Promise;