/** * Structural shape of the Cloudflare Workers `ExecutionContext`. Defined * locally so `@voyant-travel/hono` doesn't need `@cloudflare/workers-types` — * consumers on Node, Vercel, or any other runtime can use these helpers. */ export interface ExecutionContextLike { waitUntil(promise: Promise): void; } /** * Hono throws on `executionCtx` access when the adapter provides none * (Node tests, some serverless adapters) — normalize to undefined. */ export declare function tryGetExecutionCtx(c: { executionCtx?: unknown; }): ExecutionContextLike | undefined;