/**
 * Codex (ChatGPT) client configurator.
 *
 * Moved verbatim out of `proxy.ts`. Codex is the writer the other two should
 * have copied: it probes for an installed CLI and reports whether it wrote.
 */
import type { CliProxyClientConfigurator } from "../../types/index.js";
/**
 * Resolved per call rather than at module load so `detect()` and `apply()`
 * agree when HOME changes — under test, and on the `--dev` isolation path.
 */
declare function getCodexConfigPath(): string;
declare function getCodexSnapshotPath(): string;
export declare function setCodexProxySettings(baseUrl: string): Promise<boolean>;
export declare function clearCodexProxySettings(expectedBaseUrl?: string): Promise<boolean>;
export declare const codexConfigurator: CliProxyClientConfigurator;
export declare const __codexClientTestHooks: {
    getCodexConfigPath: typeof getCodexConfigPath;
    getCodexSnapshotPath: typeof getCodexSnapshotPath;
    setCodexProxySettings: typeof setCodexProxySettings;
    clearCodexProxySettings: typeof clearCodexProxySettings;
};
export {};
