import 'reflect-metadata'; /** * Configuration Module Options */ export interface ConfigModuleOptions { /** * Path to .env file (relative to project root) */ envFilePath?: string; /** * Whether to ignore .env file if it doesn't exist */ ignoreEnvFile?: boolean; /** * Whether to validate environment variables */ validate?: (config: Record) => boolean; /** * Default values for environment variables */ defaults?: Record; } /** * Configuration Service * Provides type-safe access to environment variables */ export declare class ConfigService { private config; constructor(options?: ConfigModuleOptions); /** * Get a configuration value */ get(key: string): T | undefined; get(key: string, defaultValue: T): T; /** * Get a required configuration value * Throws if not found */ getOrThrow(key: string): T; /** * Get all configuration */ getAll(): Record; } /** * Dynamic module result type */ export interface DynamicModuleResult { providers: Array<{ provide: any; useValue: unknown; }>; exports: any[]; } /** * Configuration Module * NestJS-style configuration management */ export declare class ConfigModule { static forRoot(options?: ConfigModuleOptions): DynamicModuleResult; } //# sourceMappingURL=config-module.d.ts.map