/** * Get a constant value from the injector configuration settings. * * Retrieves a configuration value using dot notation path syntax. * Useful for accessing environment variables, configuration constants, or settings. * * ### Usage * * ```typescript * import {constant} from "@tsed/di"; * * const apiKey = constant("api.key"); * const port = constant("server.port", 3000); * const debug = constant("logger.debug", false); * ``` * * @typeParam Type The expected type of the constant value * @param expression Dot-notation path to the configuration value (e.g., "logger.level") * @param defaultValue Optional default value if the expression is not found * @returns The configuration value or undefined * @public */ export declare function constant(expression: string): Type | undefined; export declare function constant(expression: string, defaultValue: Type | undefined): Type;