/** * Auth Middleware * * Wraps user-provided Hono auth middleware to skip public paths. */ import type { MiddlewareHandler } from "hono"; import type { AuthConfig } from "../types.ts"; /** * Create auth middleware that wraps user-provided middleware with public path bypass * * @param config - Auth configuration with middleware and optional public paths * @param basePath - Base path prefix for routes (e.g., "/api") * @returns Hono middleware handler */ export declare function createAuthMiddleware(config: AuthConfig, basePath?: string): MiddlewareHandler; //# sourceMappingURL=auth.d.ts.map