import type { UniversalClientFn, UniversalHandlerFn } from "./universal.js"; /** * Create a universal client function, a minimal abstraction of an HTTP client, * using the given fetch() implementation. */ export declare function createFetchClient(fetchFn: typeof fetch): UniversalClientFn; /** * FetchHandlerFn is a minimal abstraction of an HTTP handler with the fetch API * Request and Response types. */ type FetchHandlerFn = (req: Request) => Promise; interface FetchHandlerOptions { httpVersion?: string; } /** * Convert a universal handler function to a fetch handler. */ export declare function createFetchHandler(uHandler: UniversalHandlerFn, options?: FetchHandlerOptions): FetchHandlerFn; export {};