/// <reference types="bun-types" />
/// <reference types="node" />
import type { ModelsDevRegistry } from './types';
export declare const MODELS_DEV_API_URL = "https://models.dev/api.json";
export interface RegistryCacheReadOptions {
    allowStale?: boolean;
    now?: number;
}
export interface RegistryRefreshOptions {
    force?: boolean;
    fetchImpl?: typeof fetch;
    now?: () => number;
}
export declare function getCachedModelsDevRegistry(options?: RegistryCacheReadOptions): ModelsDevRegistry | null;
export declare function setCachedModelsDevRegistry(providers: ModelsDevRegistry, fetchedAt?: number): void;
export declare function clearModelsDevRegistryCache(): boolean;
export declare function refreshModelsDevRegistry(options?: RegistryRefreshOptions): Promise<ModelsDevRegistry | null>;
export declare function startModelsDevRegistryRefresh(options?: RegistryRefreshOptions): Promise<ModelsDevRegistry | null>;
//# sourceMappingURL=registry-cache.d.ts.map