export type ServerConfig = { command: string; readyUrl: string; reuseExisting?: boolean; timeoutMs?: number; }; export type StartManagedServerOptions = { cwd?: string; logPath?: string; }; export type ManagedServer = { readyUrl: string; reused: boolean; started: boolean; pid: number | undefined; stop: () => Promise; }; export type WaitForUrlOptions = { timeoutMs?: number; intervalMs?: number; }; export declare function startManagedServer(config: ServerConfig, options?: StartManagedServerOptions): Promise; export declare function waitForUrl(url: string, options?: WaitForUrlOptions): Promise;