import { DynamicModule } from '@nestjs/common'; import { AuthenticationModuleAsyncOptions, AuthenticationModuleOptions } from './authentication-module-options.interface'; import { AuthenticationModuleClass } from './authentication.module-definition'; /** * AuthenticationModule * * Globally available NestJS module providing: * - JWT authentication * - Internal service authentication * - Permissions-based access control * * Supports both synchronous (`forRoot`) and asynchronous (`forRootAsync`) configuration. */ export declare class AuthenticationModule extends AuthenticationModuleClass { /** * Configure the module asynchronously. * Useful when options must be loaded from environment or external services. * * @param asyncOptions - Factory function and providers for async configuration. * @returns {DynamicModule} Fully configured module definition with async options exported. */ static forRoot(options: AuthenticationModuleOptions): DynamicModule; /** * Asynchronously configure the authentication module. * Useful for dynamic config values loaded from environment or external services. * * @param asyncOptions - Factory function and injected providers for async configuration */ static forRootAsync(asyncOptions: AuthenticationModuleAsyncOptions): DynamicModule; }