import { LanguageModelV1 } from "ai";
import { GenerationResult } from "../types.js";
/**
 * Generates AI response based on image and text
 */
export declare function generateAIResponse(aiProvider: LanguageModelV1, extractedText: string, imageData: Buffer, maxRetries: number, providerName: string, verbose?: boolean): Promise<string>;
/**
 * Processes AI generation for PP3 content
 */
export declare function processAIGeneration(previewPath: string, basePP3Path: string, sections: string[], providerName: string, visionModel: string | string[], prompt: string | undefined, preset: string, maxRetries: number, verbose: boolean): Promise<string>;
/**
 * Prepares image contents for evaluation
 */
export declare function prepareImageContents(generationResults: GenerationResult[], verbose: boolean): Promise<({
    type: "text";
    text: string;
} | {
    type: "image";
    image: Buffer;
})[]>;
/**
 * Parses the best generation index from AI response
 */
export declare function parseBestGenerationIndex(responseText: string, generationResults: GenerationResult[]): number;
/**
 * Evaluates multiple generations and selects the best one
 * If multiple models are specified, it will try each one sequentially until successful
 */
export declare function evaluateGenerations(generationResults: GenerationResult[], providerName: string, visionModel: string | string[], maxRetries: number, verbose: boolean): Promise<{
    bestIndex: number;
    evaluationReason: string;
}>;
