import type { Context } from '../context.js'; export interface JWTOptions { secret: string; expiresIn?: string; issuer?: string; audience?: string; } export interface AuthOptions { jwt?: JWTOptions; basic?: { users: Record; }; bearer?: { tokens: string[]; }; } export declare function auth(options: AuthOptions): (ctx: Context, next: () => Promise) => Promise; export declare function requireAuth(): (ctx: Context, next: () => Promise) => Promise; //# sourceMappingURL=auth.d.ts.map