import type { OntologyConfig } from "../config/types.js"; import type { OntologyDiff } from "../lockfile/types.js"; export interface BrowserServerOptions { config: OntologyConfig; /** Diff data for review mode (null = browse-only, no changes) */ diff?: OntologyDiff | null; /** Directory to write the lockfile to on approval */ configDir?: string; /** Path to the ontology.config.ts file */ configPath?: string; port?: number; openBrowser?: boolean; /** If true, resolve immediately after starting (don't wait for approval). Useful for background review UI. */ background?: boolean; } export interface BrowserServerResult { /** Whether changes were approved (only set if there were changes) */ approved?: boolean; } export declare function startBrowserServer(options: BrowserServerOptions): Promise;