import type { Server } from 'node:http'; import { type StopWebUiResult, type WebUiInstance } from './instance-lock.js'; export interface StartWebUiOptions { readonly port: number; } export interface StartedWebUi { readonly origin: string; readonly server: Server; } export type OpenedWebUi = { readonly disposition: 'started'; readonly origin: string; readonly server: Server; } | { readonly disposition: 'existing'; readonly instance: WebUiInstance; }; export declare function startWebUi(options: StartWebUiOptions): Promise; export declare function openWebUi(options: StartWebUiOptions): Promise; export declare function stopWebUi(): Promise; export declare function restartWebUi(options: StartWebUiOptions): Promise; //# sourceMappingURL=index.d.ts.map