import { AppContext, UserPayload } from '../types.js';
import { ResolverBase } from '../generic/ResolverBase.js';
export declare class AIPromptRunResult {
    success: boolean;
    output?: string;
    parsedResult?: string;
    error?: string;
    executionTimeMs?: number;
    tokensUsed?: number;
    promptRunId?: string;
    rawResult?: string;
    validationResult?: string;
    chatResult?: string;
}
export declare class SimplePromptResult {
    success: boolean;
    result?: string;
    resultObject?: string;
    modelName: string;
    error?: string;
    executionTimeMs?: number;
}
export declare class EmbedTextResult {
    embeddings: number[][];
    modelName: string;
    vectorDimensions: number;
    error?: string;
}
export declare class RunAIPromptResolver extends ResolverBase {
    private executeAIPrompt;
    RunAIPrompt(promptId: string, { userPayload, providers }: AppContext, data?: string, overrideModelId?: string, overrideVendorId?: string, configurationId?: string, skipValidation?: boolean, templateData?: string, responseFormat?: string, temperature?: number, topP?: number, topK?: number, minP?: number, frequencyPenalty?: number, presencePenalty?: number, seed?: number, stopSequences?: string[], includeLogProbs?: boolean, topLogProbs?: number, messages?: string, rerunFromPromptRunID?: string, systemPromptOverride?: string): Promise<AIPromptRunResult>;
    RunAIPromptSystemUser(promptId: string, { userPayload, providers }: AppContext, data?: string, overrideModelId?: string, overrideVendorId?: string, configurationId?: string, skipValidation?: boolean, templateData?: string, responseFormat?: string, temperature?: number, topP?: number, topK?: number, minP?: number, frequencyPenalty?: number, presencePenalty?: number, seed?: number, stopSequences?: string[], includeLogProbs?: boolean, topLogProbs?: number, messages?: string, rerunFromPromptRunID?: string, systemPromptOverride?: string): Promise<AIPromptRunResult>;
    private selectModelForSimplePrompt;
    private selectEmbeddingModelBySize;
    private buildChatMessages;
    private formatSimpleResult;
    ExecuteSimplePrompt(systemPrompt: string, { userPayload }: {
        userPayload: UserPayload;
    }, messages?: string, preferredModels?: string[], modelPower?: string, responseFormat?: string): Promise<SimplePromptResult>;
    ExecuteSimplePromptSystemUser(systemPrompt: string, { userPayload }: {
        userPayload: UserPayload;
    }, messages?: string, preferredModels?: string[], modelPower?: string, responseFormat?: string): Promise<SimplePromptResult>;
    EmbedText(textToEmbed: string[], modelSize: string, { userPayload }: {
        userPayload: UserPayload;
    }): Promise<EmbedTextResult>;
    EmbedTextSystemUser(textToEmbed: string[], modelSize: string, { userPayload }: {
        userPayload: UserPayload;
    }): Promise<EmbedTextResult>;
}
//# sourceMappingURL=RunAIPromptResolver.d.ts.map