/**
 * Thin wrapper around credential-manager-core so tests can inject a mock
 * (ESM module exports cannot be stubbed with sinon).
 */
import { type AuthEntry } from './credential-manager-core/index.js';
export interface CredentialManagerProvider {
    getAuth: (account: string | undefined, host: string, service?: string) => Promise<AuthEntry>;
    removeAuth: (account: string | undefined, hosts: string[], service?: string) => Promise<void>;
    saveAuth: (account: string, token: string, hosts: string[], service?: string) => Promise<void>;
}
export declare function setCredentialManagerProvider(p: CredentialManagerProvider): void;
export declare function getAuth(account: string | undefined, host: string, service?: string): Promise<AuthEntry>;
export declare function removeAuth(account: string | undefined, hosts: string[], service?: string): Promise<void>;
export declare function saveAuth(account: string, token: string, hosts: string[], service?: string): Promise<void>;
export type { AuthEntry } from './credential-manager-core/index.js';
