import type { ProviderRegistry, SetupPaths } from "./types.js"; export interface ProviderRegistryLoadResult { registry: ProviderRegistry; localPath: string; source: "local" | "default"; version: number; } export interface ProviderRegistryLoaderOptions { dryRun: boolean; defaultRegistryPath?: string; } export type ProviderRegistryLoader = (paths: SetupPaths, options: ProviderRegistryLoaderOptions) => Promise; export declare function loadProviderRegistry(paths: SetupPaths, options?: ProviderRegistryLoaderOptions): Promise; export declare function saveProviderRegistry(targetPath: string, registry: ProviderRegistry): Promise; export declare function resetProviderRegistry(paths: SetupPaths, options?: ProviderRegistryLoaderOptions): Promise;