import type { Context } from "koa"; import { type AuthScope, type TokenRegistry } from "./demo-scope.js"; export declare const AUTH_SCOPE_STATE_KEY = "authScope"; export declare function getAuthScope(ctx: Context): AuthScope; export declare function extractBearerToken(ctx: Context): string; export declare function setAuthScopeOnContext(ctx: Context, scope: AuthScope): void; export declare function demoHttpForbiddenResponse(ctx: Context): void; export declare function checkDemoHttpAccess(ctx: Context, scope: AuthScope, apiBase: string): boolean; export type { TokenRegistry }; //# sourceMappingURL=token-auth.d.ts.map