export type ProviderSettingsId = 'anthropic' | 'openai' | 'gemini' | 'ollama' | 'custom-openai';
export interface ProviderSettingsInput {
    id: ProviderSettingsId;
    enabled?: boolean;
    apiKey?: string;
    baseUrl?: string;
    model?: string;
}
export interface StoredProviderSettings extends ProviderSettingsInput {
    updatedAt: string;
}
export interface RedactedProviderSettings {
    id: ProviderSettingsId;
    label: string;
    enabled: boolean;
    hasApiKey: boolean;
    apiKeyPreview?: string;
    baseUrl?: string;
    model?: string;
    source: 'local' | 'env' | 'none';
    envVars: string[];
}
export interface EffectiveProviderConfig {
    apiKey?: string;
    baseUrl?: string;
    model?: string;
    enabled: boolean;
}
export declare function providerSettingsPath(projectRoot: string): string;
export declare function listProviderSettings(projectRoot: string): RedactedProviderSettings[];
export declare function getEffectiveProviderConfig(projectRoot: string, id: ProviderSettingsId): EffectiveProviderConfig;
export declare function saveProviderSettings(projectRoot: string, input: ProviderSettingsInput): RedactedProviderSettings[];
//# sourceMappingURL=provider-settings.d.ts.map