elearning/Frontend-Learner/node_modules/srvx/dist/adapters/service-worker.d.mts
2026-01-13 10:48:02 +07:00

9 lines
No EOL
496 B
TypeScript

import { _ as ServerRequest, f as Server, h as ServerOptions } from "../_chunks/types.mjs";
//#region src/adapters/service-worker.d.ts
declare const FastURL: typeof globalThis.URL;
declare const FastResponse: typeof globalThis.Response;
type ServiceWorkerHandler = (request: ServerRequest, event: FetchEvent) => Response | Promise<Response>;
declare function serve(options: ServerOptions): Server<ServiceWorkerHandler>;
//#endregion
export { FastResponse, FastURL, ServiceWorkerHandler, serve };