import { MiddlewareHandler } from "hono";
import { AuthHeroConfig, Bindings, Variables } from "../types";
/**
 * Merges values from the user-supplied `AuthHeroConfig` into `ctx.env`. Must
 * run before any code that reads `ctx.env.hooks`, `ctx.env.samlSigner`, etc.
 *
 * Applied both in the outer `init()` app and in each sub-app's middleware
 * chain so that serving a sub-app (oauthApp, managementApp, ...) directly —
 * without routing through the outer app — still sees the config.
 */
export declare function applyConfigMiddleware(config: AuthHeroConfig): MiddlewareHandler<{
    Bindings: Bindings;
    Variables: Variables;
}>;
