import { IncomingMessage, RequestListener } from "node:http"; //#region src/plugin-sdk/test-helpers/http-test-server.d.ts declare function withServer(handler: RequestListener, fn: (baseUrl: string) => Promise): Promise; //#endregion //#region src/plugin-sdk/test-helpers/mock-incoming-request.d.ts declare function createMockIncomingRequest(chunks: string[]): IncomingMessage; //#endregion //#region src/plugin-sdk/test-helpers/temp-home.d.ts type EnvValue = string | undefined | ((home: string) => string | undefined); declare function withTempHome(fn: (home: string) => Promise, opts?: { env?: Record; prefix?: string; skipHomeCleanup?: boolean; skipSessionCleanup?: boolean; }): Promise; //#endregion export { createMockIncomingRequest as n, withServer as r, withTempHome as t };