import type { Content } from "../content/content.js"; import type { EngineGenerate, Message, Summary } from "./index.js"; export declare const name = "openai"; export interface OpenAIDebug { finish?: string; error?: Error; } export declare const generate: EngineGenerate; export declare function format(contents: Content[], context: Record): Promise; export declare function getMessages(content: Content, context: Record): Message[]; export declare function tune(content: Content[], context: Record, { model, apiKey, baseURL, }: { model: string; apiKey: string; baseURL: string; }): Promise; export declare function vector(input: string, { model, apiKey, baseURL, }: { model: string; apiKey: string; baseURL?: string; }): Promise; //# sourceMappingURL=openai.d.ts.map