import { type ProviderRuntimeCredentialMap } from "./provider-runtime-core.js";
export declare function scrubProviderRuntimeStaticAuthJsonEntries(pathname: string): void;
type InMemoryAuthStorageBackendLike = {
    withLock<T>(update: (current: string) => {
        result: T;
        next?: string;
    }): T;
};
export declare function discoverProviderRuntimeAuthStorage<TAuthStorage>(params: {
    agentDir: string;
    AuthStorageLike: unknown;
    credentials: ProviderRuntimeCredentialMap;
    createBackend?: () => InMemoryAuthStorageBackendLike;
}): TAuthStorage;
export declare function createProviderRuntimeModelRegistry<TAuthStorage, TModelRegistry>(params: {
    authStorage: TAuthStorage;
    ModelRegistryLike: new (authStorage: TAuthStorage, modelsPath: string) => TModelRegistry;
    agentDir: string;
}): TModelRegistry;
export {};
