import { DynamicModule, MiddlewareConsumer, NestModule, Type } from "@nestjs/common"; import { AuthHandler } from "../types.d.mts"; export type DecafAuthModuleOptions = { global?: boolean; handler?: Type; /** * When enabled, the registered auth handler emits OCSF-style action logs * (class_uid 3001 auth attempts / 3002 session boundaries) via the logger's * `action()` API so they can be indexed for BI. */ logAccess?: boolean; }; export declare class DecafAuthModule implements NestModule { static forRoot(options?: DecafAuthModuleOptions): DynamicModule; configure(consumer: MiddlewareConsumer): void; }