import type { MiddlewareHandler } from "hono"; import type { AbsoluteClientAuthenticatedRoute } from "../client-authenticated-routes.js"; import { type DbSource, type VoyantAuthIntegration, type VoyantBindings, type VoyantVariables } from "../types.js"; export declare function requireAuth(dbSource: DbSource, opts?: { publicPaths?: string[]; optionalCustomerAuthPaths?: string[]; clientAuthenticatedRoutes?: readonly AbsoluteClientAuthenticatedRoute[]; basePath?: string; auth?: VoyantAuthIntegration; }): MiddlewareHandler<{ Bindings: TBindings; Variables: VoyantVariables; }>;