/** * Auth Routes - API endpoints for 2FA (TOTP) and passkey (WebAuthn) login * * Public (no session required): /auth/status, /auth/verify, * /auth/passkeys/login-options, /auth/passkeys/login. * Everything else under /auth/passkeys requires a valid session — the auth * middleware enforces that (see PUBLIC_ROUTES in auth-middleware.ts). */ import { FastifyInstance } from 'fastify'; /** * Session length flag. Absent → long (30-day) session; only an explicit * `false` (or "false"/0) asks for the 24 h one. Accepts both the historical * `trustBrowser` key the UI sends and the shorter `trusted`. */ export declare function parseTrusted(body: unknown): boolean; export default function authRoutes(fastify: FastifyInstance): Promise;