import type { Api, Model } from "../../types"; export interface ReasoningConfig { effort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max"; summary?: "auto" | "concise" | "detailed"; } export interface CodexRequestOptions { reasoningEffort?: ReasoningConfig["effort"]; reasoningSummary?: ReasoningConfig["summary"] | null; textVerbosity?: "low" | "medium" | "high"; include?: string[]; } export interface InputItem { id?: string | null; type?: string | null; role?: string; content?: unknown; call_id?: string | null; name?: string; output?: unknown; arguments?: unknown; encrypted_content?: unknown; } export interface RequestBody { model: string; store?: boolean; stream?: boolean; instructions?: string; input?: InputItem[]; tools?: unknown; tool_choice?: unknown; temperature?: number; top_p?: number; top_k?: number; min_p?: number; presence_penalty?: number; repetition_penalty?: number; reasoning?: Partial; text?: { verbosity?: "low" | "medium" | "high"; }; include?: string[]; prompt_cache_key?: string; prompt_cache_retention?: "in_memory" | "24h"; max_output_tokens?: number; max_completion_tokens?: number; [key: string]: unknown; } export declare function transformRequestBody(body: RequestBody, model: Model, options?: CodexRequestOptions, prompt?: { developerMessages: string[]; }): Promise;