/**
 * Codex Proxy — Anthropic Messages API → OpenAI API
 * Claude Code에서 OpenAI 호환 모델을 백엔드로 사용하는 로컬 프록시
 *
 * chatgpt-pro: Codex Responses API (chatgpt.com/backend-api/codex/responses)
 * openai/antigravity/custom: Chat Completions API (api.openai.com/v1/chat/completions)
 */
import http from 'http';
import type { CodexProxyConfig } from '../../cli/types.js';
interface ProxyConfig {
    port: number;
    defaultModel?: string;
}
export interface AuthSource {
    source: 'codex-cli' | 'apikey' | 'env';
    email?: string;
}
export declare function getProxySettings(): CodexProxyConfig;
export declare function checkAuthSource(): AuthSource | null;
export declare function createProxyServer(config: ProxyConfig): http.Server;
export declare function launchSession(model?: string, claudeArgs?: string[]): void;
export declare function generateShellFunction(model?: string): string;
export {};
//# sourceMappingURL=codex-proxy.d.ts.map