import type { LlmProvider } from '../../core/llm/types.js';
import type { ProviderCredentialStore, ProviderCredentialSummary, StoredProviderCredential } from './types.js';
/**
 * File-backed repository for provider credentials. It owns the auth.json path,
 * zod-backed deserialization, private file permissions, and redacted views.
 */
export declare class ProviderCredentialRepository {
    private readonly storePath;
    constructor(input?: {
        storePath?: string;
    });
    static resolveStorePath(baseDir?: string): string;
    static emptyStore(): ProviderCredentialStore;
    static summarize(credential: StoredProviderCredential): ProviderCredentialSummary;
    static redact(credential: StoredProviderCredential): Record<string, unknown>;
    static redactSecret(secret: string): string;
    read(): ProviderCredentialStore;
    write(store: ProviderCredentialStore): void;
    get(provider: LlmProvider): StoredProviderCredential | undefined;
    set(credential: StoredProviderCredential): void;
    remove(provider: LlmProvider): boolean;
    listSummaries(): ProviderCredentialSummary[];
}
//# sourceMappingURL=provider-credentials.d.ts.map