import type { Context, Next } from "hono"; declare module "hono" { interface ContextVariableMap { integrationKey?: { id: string; tenantId: string; scopes: string[]; environment: "test" | "live"; }; integrationTenantId?: string; } } /** * API Key Authentication Middleware * Validates API keys and sets integration context */ export declare const apiKeyAuthMiddleware: (c: Context, next: Next) => Promise<(Response & import("hono").TypedResponse<{ success: false; error: { code: string; message: string; }; }, 401, "json">) | (Response & import("hono").TypedResponse<{ success: false; error: { code: string; message: string; }; }, 500, "json">) | undefined>; /** * Optional API Key Authentication Middleware * Doesn't require auth but adds context if key is present */ export declare const optionalApiKeyAuthMiddleware: (c: Context, next: Next) => Promise; export default apiKeyAuthMiddleware; //# sourceMappingURL=api-key-auth.d.ts.map