import type { Server } from "node:http"; import type { SideCarOptions, StartServerOptions } from "./types/index.js"; export declare function startServer(options: StartServerOptions): Promise; export declare function setupSidecar({ port, logger: customLogger, basePath, filesToServe, incomingPayload, isStandalone }?: SideCarOptions): Promise; export declare function clearBuffer(): void; export declare function setShutdownHandlers(server: Server): void;