import { OAuthApp } from "../../index";
import type { HandlerOptions } from "../types";
import type { ClientType, Options } from "../../types";
export declare function createWebWorkerHandler<T extends Options<ClientType>>(app: OAuthApp<T>, { pathPrefix, onUnhandledRequest, }?: HandlerOptions & {
    onUnhandledRequest?: (request: Request) => Response | Promise<Response>;
}): (request: Request) => Promise<Response>;
/** @deprecated */
export declare function createCloudflareHandler<T extends Options<ClientType>>(...args: Parameters<typeof createWebWorkerHandler>): (request: Request) => Promise<Response>;
