export interface AdminAuthConfig { /** Basic auth credentials (existing) */ username?: string; password?: string; /** API key verification function (from @mostajs/api-keys) */ verifyApiKey?: (rawKey: string) => Promise; /** Required permission for admin access */ adminPermission?: string; } /** * Create admin auth checker that supports both Basic Auth and API key. */ export declare function createAdminAuth(config: AdminAuthConfig): (req: any) => Promise<{ authorized: boolean; method: "basic" | "apikey" | "none"; error?: string; }>;