export interface KimiMcpServerConfig {
    url?: string;
    command?: string;
    args?: string[];
    env?: Record<string, string>;
    headers?: Record<string, string>;
    http_headers?: Record<string, string>;
    startup_timeout_sec?: number;
    enabled?: boolean;
}
export interface KimiMcpConfig {
    mcpServers: Record<string, KimiMcpServerConfig>;
}
export interface CodexMcpImportOptions {
    homeDir?: string;
    configPath?: string;
    projectRoot?: string;
    targetPath?: string;
    includeOpenAIDocs?: boolean;
    overwrite?: boolean;
    dryRun?: boolean;
}
export interface McpImportCodexCommandOptions extends CodexMcpImportOptions {
    config?: string;
    openaiDocs?: boolean;
    json?: boolean;
}
export type OpenAiSetupChoice = "plus-pro" | "business-enterprise" | "api-key" | "later";
export interface CodexAuthCommandOptions {
    choice?: string;
    plan?: string;
    run?: boolean;
    json?: boolean;
    apiKeyEnv?: string;
    deviceAuth?: boolean;
}
export interface CodexAuthResult {
    ok: boolean;
    command: "codex auth" | "openai setup";
    choice: OpenAiSetupChoice;
    codexCliAvailable: boolean;
    apiKeyEnv: string;
    apiKeyPresent: boolean;
    authBypass: false;
    authVerified: boolean;
    verifiedBy?: string;
    authJsonRead: false;
    nextActions: string[];
}
export interface CodexMcpImportResult {
    sourcePath: string;
    targetPath: string;
    changed: boolean;
    imported: string[];
    placeholdered: string[];
    skipped: Array<{
        name: string;
        reason: string;
    }>;
    mcpServers: Record<string, KimiMcpServerConfig>;
}
export declare const OPENAI_DOCS_MCP_NAME = "openaiDeveloperDocs";
export declare const OPENAI_DOCS_MCP_URL = "https://developers.openai.com/mcp";
export declare function resolveCodexConfigPath(options?: Pick<CodexMcpImportOptions, "homeDir" | "configPath">): string;
export declare function openAiDocsMcpServer(): KimiMcpServerConfig;
export declare function readCodexMcpServers(options?: Pick<CodexMcpImportOptions, "homeDir" | "configPath" | "includeOpenAIDocs">): Promise<CodexMcpImportResult>;
export declare function importCodexMcpConfig(options?: CodexMcpImportOptions): Promise<CodexMcpImportResult>;
export declare function mcpImportCodexCommand(options?: McpImportCodexCommandOptions): Promise<void>;
export declare function codexAuthCommand(options?: CodexAuthCommandOptions): Promise<void>;
export declare function openAiSetupCommand(options?: CodexAuthCommandOptions): Promise<void>;
