import type { Context, Next } from 'hono'; export interface WorkOSAuthContext { environment: string; apiKey: string; } export type WorkOSAppEnv = { Variables: { auth?: WorkOSAuthContext; requestId?: string; }; }; export type ApiKeyMap = Record; export declare function authMiddleware(apiKeys: ApiKeyMap): (c: Context, next: Next) => Promise;