/**
 * OpenAI to Cursor Request Translator
 * Converts OpenAI messages to Cursor format.
 */
import type { CursorMessage, CursorTool } from './cursor-protobuf-schema.js';
interface OpenAITextPart {
    type: 'text';
    text?: string;
}
interface OpenAIToolUsePart {
    type: 'tool_use';
    id?: string;
    name?: string;
    input?: Record<string, unknown>;
}
interface OpenAIToolResultPart {
    type: 'tool_result';
    tool_use_id?: string;
    content?: unknown;
}
interface OpenAIUnknownPart {
    type: string;
    [key: string]: unknown;
}
type OpenAIContentPart = OpenAITextPart | OpenAIToolUsePart | OpenAIToolResultPart | OpenAIUnknownPart;
interface OpenAIMessage {
    role: string;
    content: string | OpenAIContentPart[];
    name?: string;
    tool_call_id?: string;
    tool_calls?: Array<{
        id: string;
        type: string;
        function: {
            name: string;
            arguments: string;
        };
    }>;
}
interface OpenAIRequestBody {
    messages: OpenAIMessage[];
    tools?: CursorTool[];
    reasoning_effort?: string;
}
export declare function buildCursorRequest(_model: string, body: OpenAIRequestBody, _stream: boolean, _credentials: unknown): {
    messages: CursorMessage[];
    tools?: CursorTool[];
};
export {};
//# sourceMappingURL=cursor-translator.d.ts.map