import { CustomFunctionLogger } from '../logger'; import { ContextService } from '../context/contextService'; export interface GenerateTextPayload { userPrompt: string; outputSchema: any; } export interface GenerateTextResult { /** The generated text, or the parsed object when an outputSchema was supplied. */ result: any; /** * Handle for submitting feedback on this generation. Absent when the AI service predates * MEX-336 and does not send run_id, so callers must treat it as optional. */ runId?: string; } export interface ProcessFileInput { data: Buffer; filename: string; contentType: string; } export interface ProcessFilePayload { files: ProcessFileInput[]; prompt?: string; responseSchema?: any; } export declare class AIService { private _contextService; private _logger; constructor(_contextService: ContextService, _logger: CustomFunctionLogger); generateText: (payload: GenerateTextPayload) => Promise; processFile: (payload: ProcessFilePayload) => Promise; private assertSafeHeaderValue; private postForResult; private postForBody; } //# sourceMappingURL=aiService.d.ts.map