import type OpenAI from 'openai';
import type { GoogleGenerativeAI } from '@google/generative-ai';
export type ResolvedLlmProvider = 'openai' | 'gemini' | 'ollama' | null;
export type RequestedLlmProvider = 'openai' | 'gemini' | 'ollama' | 'auto';
export interface RelationProviderSelectionContext {
    openaiClient: OpenAI | null;
    geminiClient: GoogleGenerativeAI | null;
    preferredProvider: ResolvedLlmProvider;
    /** mementoConfig.llmProvider */
    llmProviderConfig: string;
}
export declare function isOllamaPreferredSlotAvailable(ctx: RelationProviderSelectionContext): boolean;
export declare function determineRelationLlmProvider(ctx: RelationProviderSelectionContext, requestedProvider: RequestedLlmProvider): ResolvedLlmProvider;
//# sourceMappingURL=provider-selection.d.ts.map