import type { Context, Next } from 'hono'; /** * Unified auth middleware. * - localhost requests (127.0.0.1 / ::1) → pass through (MCP) * - API key in Authorization header → validate against api_keys table * - Session cookie → validate via Better Auth */ export declare function unifiedAuth(c: Context, next: Next): Promise)>;