import type { FigmaClient } from "../figma/client.js"; import type { ResolvedIconsConfig, ResolvedSourceConfig } from "../types/config.js"; import type { SourceSnapshot } from "./types.js"; export interface SourceRouterOptions { allowFallbackRest?: boolean; onProgress?: (message: string) => void; expectedItemCount?: number; forceRefresh?: boolean; } export declare class SourceRouter { private readonly figmaClient; private readonly bridgeClient; private readonly mcpAdapter; private readonly restSnapshotCache; constructor(figmaClient: FigmaClient, config: ResolvedIconsConfig); loadSource(source: ResolvedSourceConfig, options?: SourceRouterOptions): Promise; private loadRestSource; private loadRestSnapshot; private withHeartbeat; private buildEstimateText; }