import type { ServiceWorkerBuild } from './dank.ts'; export type ServiceWorkerCaching = { cacheKey: string; bypassCache?: { hosts?: Array; paths?: Array<`/${string}`>; }; files: Array<`/${string}`>; }; export declare function createServiceWorker(caching: ServiceWorkerCaching): Promise;