import type { Command } from 'commander'; import { type ServerStatus, type ServerStatusOptions } from './server-status.js'; import { type ServeCommandDependencies } from './serve.js'; export type ServerStatusReader = (options: ServerStatusOptions) => PromiseLike; export type ServerOutputWriter = (text: string) => void; export interface ServerCommandDependencies extends ServeCommandDependencies { readonly getServerStatus?: ServerStatusReader; readonly stdout?: ServerOutputWriter; readonly onServeStarted?: () => void; } export declare function runServerStatusCommand(options?: ServerStatusOptions, dependencies?: Pick): Promise; export declare function registerServerCommands(cli: Command, dependencies?: ServerCommandDependencies): Command; //# sourceMappingURL=server.d.ts.map