import type { Middleware } from "koa"; import type { TokenRegistry } from "./demo-scope.js"; import { AUTH_SCOPE_STATE_KEY } from "./token-auth.js"; export declare function createCorsMiddleware(corsOrigins: string[]): Middleware; export declare function securityHeadersMiddleware(): Middleware; export type AuthMiddlewareOptions = { /** @deprecated Use tokenRegistry */ token?: string; tokenRegistry?: TokenRegistry; base: string; whiteList: (string | RegExp)[]; authExemptPaths?: string[]; }; export declare function createAuthMiddleware(options: AuthMiddlewareOptions): Middleware; export { AUTH_SCOPE_STATE_KEY }; //# sourceMappingURL=http-middleware.d.ts.map