import http from 'node:http'; export interface LocalServer { url: string; hostWithPort: string; captured: string[]; clear: () => void; close: () => Promise; } export declare function startServer(handler: http.RequestListener): Promise;