/** * lumiarq.auth — built-in authentication middleware. * * Validates a Bearer token from the `Authorization` header. * Stores the decoded payload on the request as `X-Auth-Payload` header * so downstream handlers can read it without re-parsing. * * Configuration is read from `process.env.LUMIARQ_AUTH_SECRET`. * In production, replace this stub with your full JWT/session logic. * * Usage in routes: * ```ts * Route.get('/dashboard', dashboardHandler, { * middleware: ['lumiarq.auth'], * }) * ``` */ export declare const authMiddleware: import("../types.js").MiddlewareDefinition; //# sourceMappingURL=auth.d.ts.map