import { type GraphAutoRefreshController, type WatchLogger } from './watch.js'; export interface BackgroundAutoRefreshOptions { noHtml?: boolean; logger?: WatchLogger; } export interface BackgroundAutoRefreshDependencies { /** Internal test seam; production resolves the compiled sibling watch.js. */ watchModuleUrl?: URL; } /** * Runs the synchronous graph reconciliation/watch loop away from the MCP * transport thread. The stdio server can therefore finish initialization and * answer control requests while watcher-state.json keeps graph reads fail-closed. */ export declare function startGraphAutoRefreshInBackground(watchPath: string, debounceSeconds?: number, options?: BackgroundAutoRefreshOptions, dependencies?: BackgroundAutoRefreshDependencies): GraphAutoRefreshController;