import type { Schema } from 'hono'; import type { HonoBase } from 'hono/hono-base'; import { type BindingsDefs, type ContextProxy } from '@fastly/compute-js-context'; export type BindingsWithClientInfo = ContextProxy & { clientInfo: ClientInfo; serverInfo: ServerInfo; }; type Handler = (evt: FetchEvent) => void; export type HandleOptions = { fetch?: typeof fetch; }; type HandleFn = { (app: HonoBase<(keyof D extends never ? {} : never) & V, S, BasePath>, envBindingsDefs: D, opts?: HandleOptions): Handler; (app: HonoBase<{ Bindings: BindingsWithClientInfo; } & V, S, BasePath>, envBindingsDefs: D, opts?: HandleOptions): Handler; }; /** * Adapter for Fastly Compute */ export declare const handle: HandleFn; export {}; //# sourceMappingURL=handler.d.ts.map