import type { ApiProvider, ProviderResponse, CallApiContextParams } from '../types';
import type { EnvOverrides } from '../types/env';
interface PalmCompletionOptions {
    apiKey?: string;
    apiHost?: string;
    safetySettings?: {
        category: string;
        probability: string;
    }[];
    stopSequences?: string[];
    temperature?: number;
    maxOutputTokens?: number;
    topP?: number;
    topK?: number;
    generationConfig?: Record<string, any>;
    responseSchema?: string;
}
declare class PalmGenericProvider implements ApiProvider {
    modelName: string;
    config: PalmCompletionOptions;
    env?: EnvOverrides;
    constructor(modelName: string, options?: {
        config?: PalmCompletionOptions;
        id?: string;
        env?: EnvOverrides;
    });
    id(): string;
    toString(): string;
    getApiHost(): string | undefined;
    getApiKey(): string | undefined;
    callApi(prompt: string): Promise<ProviderResponse>;
}
export declare class PalmChatProvider extends PalmGenericProvider {
    constructor(modelName: string, options?: {
        config?: PalmCompletionOptions;
        id?: string;
        env?: EnvOverrides;
    });
    callApi(prompt: string, context?: CallApiContextParams): Promise<ProviderResponse>;
    callGemini(prompt: string, context?: CallApiContextParams): Promise<ProviderResponse>;
}
export {};
//# sourceMappingURL=palm.d.ts.map