import { ConfigStore } from "../config/store.js"; import type { SecretRefV1 } from "../config/types.js"; import { CatalogCacheStore } from "./cache.js"; import { NineRouterClient } from "./client.js"; import { type CatalogRow, type ConfigureResult, type ListOptions, type NineRouterManagerOptions, type NineRouterStatus, type ProviderProjection, type RefreshResult, type SetEnabledOptions, type SetEnabledResult } from "./types.js"; export declare class NineRouterManager { private readonly configStore; private readonly cacheStore; private readonly client; private readonly now; private lastGatewayState; private refreshQueue; constructor(options: NineRouterManagerOptions); constructor(configStore: ConfigStore, cacheStore: CatalogCacheStore, client: NineRouterClient, now?: () => Date); loadStatus(): Promise; list(filter?: string | ListOptions): Promise; refresh(signal?: AbortSignal): Promise; private refreshUnlocked; configure(baseUrl: string, credentialRef?: SecretRefV1 | string): Promise; setEnabled(remoteId: string, enabled: boolean, options?: SetEnabledOptions): Promise; providerProjection(): Promise; private loadConfig; private buildProjection; private rowFor; private cacheFreshness; } export declare function createNineRouterManager(root: string, configStore?: ConfigStore): NineRouterManager;