/** Route prefix under which original project files are streamed from disk. */ export declare const FILE_PREFIX = "/__file/"; export interface ServeOptions { distDir: string; /** Returns the current analysis payload as a JSON string. */ getData: () => string; port: number; host?: string; /** Absolute root of the scanned project — the base for `/__file/` requests. */ projectRoot?: string; /** * Root-relative paths that `/__file/` may serve. Only files Atlas actually * discovered are readable; anything else in the project stays private. */ servableFiles?: Iterable; } export interface RunningServer { url: string; port: number; close: () => void; } export declare function startServer(opts: ServeOptions): Promise; /** Best-effort open the URL in the default browser. */ export declare function openBrowser(url: string): void;