import type { DashboardServerState } from '../../types/index.js';
/** Returns a copy of the current server state */
export declare function getDashboardState(): DashboardServerState;
/** Start the dashboard HTTP server on the given port (default 5050).
 *  Resolves with the URL on success, rejects with a descriptive error if the
 *  port is already in use or if the server is already running. */
export declare function startDashboardServer(port?: number): Promise<string>;
/** Stop the dashboard HTTP server.
 *  Resolves with a confirmation message. If no server is running, resolves
 *  with the "not active" message. */
export declare function stopDashboardServer(): Promise<string>;
/** Register cleanup handlers so the server stops when the process exits */
export declare function registerCleanupHandlers(): void;
//# sourceMappingURL=server.d.ts.map