/**
 * Launch the SvelteKit realtime explorer (demo/realtime-app).
 * Replaces the legacy client.html System Visualizer for `trellis ui`.
 */
export type LaunchExplorerOptions = {
    /** Repo root — ensures .trellis exists; explorer DB lives in demo/realtime-app */
    rootPath: string;
    /** SvelteKit dev port (default 4000) */
    appPort?: number;
    /** Trellis graph sidecar port (default 3920) */
    trellisPort?: number;
};
export type LaunchExplorerHandle = {
    appPort: number;
    trellisPort: number;
    appUrl: string;
    trellisUrl: string;
    stop: () => void;
};
export declare function resolveExplorerAppDir(): string;
export declare function launchRealtimeExplorer(opts: LaunchExplorerOptions): Promise<LaunchExplorerHandle>;
//# sourceMappingURL=launch-explorer.d.ts.map