import type { ProviderConfig, ProviderScope } from './types';
export declare class ProviderStore {
    private providers;
    private filePath;
    private secretStore?;
    constructor(filePath: string);
    load(): void;
    getAll(scope?: ProviderScope): ProviderConfig[];
    get(id: string, scope?: ProviderScope): ProviderConfig | undefined;
    getActive(scope?: ProviderScope): ProviderConfig | undefined;
    getActivePeer(id: string, scope?: ProviderScope): ProviderConfig | undefined;
    getActiveWriteScope(scope?: ProviderScope): ProviderConfig | undefined;
    set(provider: ProviderConfig, scope?: ProviderScope): void;
    delete(id: string, scope?: ProviderScope): boolean;
    rotateSecret(id: string, scope?: ProviderScope): number | undefined;
    private getSecretStore;
    private getAllEnterprise;
    private getEnterprise;
    private setEnterprise;
    private deleteEnterprise;
    private rotateEnterpriseSecret;
    private getActiveEnterprisePeer;
    private getActiveEnterpriseWriteScope;
    private getActiveEnterpriseInCredentialScope;
    private getEnterpriseRowById;
    private providerFromEnterpriseRow;
    private persist;
    private readSecretVersionFromPolicy;
    private recordProviderSecretAudit;
}
//# sourceMappingURL=providerStore.d.ts.map