import { ServiceWorkerWorkerData } from "./worker";
import type { Config, Service, WorkerBinding } from "./configure";
import { DurableServiceWorkerRegistration } from "./container";
export declare function getServiceBindingURL(input: URL | RequestInfo, service: Service, config: Config): URL;
export declare function createServiceBindingRouter({ config, service }: ServiceWorkerWorkerData, serviceWorker: DurableServiceWorkerRegistration): (input: RequestInfo | URL, init?: RequestInit) => WorkerBinding | undefined;
export declare function isServiceMatchCondition(serviceWorker: DurableServiceWorkerRegistration, config: Config, service: Service, binding: WorkerBinding, url: URL, input: RequestInfo | URL, init?: RequestInit): boolean;
