/**
 * Duck-typed Hono context — matches Hono's `Context` shape for
 * Cloudflare Workers without importing from `hono` at runtime.
 */
type HonoCloudflareContextLike = {
    req: {
        raw: Request;
    };
    env: Env;
    executionCtx: ExecutionContext;
    get?: (key: string) => unknown;
    set?: (key: string, value: unknown) => void;
};
type HonoMiddlewareHandler = (context: HonoCloudflareContextLike, next: () => Promise<void>) => Promise<Response | void>;
/**
 * Hono middleware that applies Cloudflare-specific setup.
 *
 * Reads `env` and `executionCtx` from the Hono context (provided
 * automatically by Hono on Cloudflare Workers). Handles static assets
 * via the ASSETS binding, injects the SESSION KV binding, and sets
 * `locals.cfContext`, client address, `waitUntil`, and error page fetch.
 *
 * If the request matches a static asset, returns the asset response
 * directly. Otherwise calls `next()` to continue the middleware chain.
 */
export declare function cf(): HonoMiddlewareHandler;
export {};
