import type { CommandLifecycle } from "#cli/shutdown.js"; import type { DevelopmentServer, DevelopmentServerHandle } from "#internal/nitro/host/types.js"; type WaitableServer = DevelopmentServer & { wait?: () => Promise; }; export declare function waitForServerOrStop(server: WaitableServer, lifecycle: CommandLifecycle): Promise; export declare function waitForUiOrServer(input: { readonly handle: DevelopmentServerHandle; readonly lifecycle: CommandLifecycle; readonly runUi: () => Promise; readonly server: WaitableServer; }): Promise; export {};