/** * Environment variable resolver for rolebox. * * Replaces `{env:VARIABLE_NAME}` patterns in strings with the corresponding * environment variable value. If the variable is not set, the original pattern * is preserved and a warning is logged. */ import type { Logger } from "tslog"; import type { ILogObj } from "tslog"; /** @internal Test seam — swap the module-level logger for a mock. */ export declare function __setLoggerForTest(mockLog: Logger): void; /** * Replace `{env:VARIABLE_NAME}` placeholders with actual environment values. * * @param value - The string potentially containing env var placeholders. * @returns The resolved string with environment variables substituted. * Unresolvable placeholders are left as-is. */ export declare function resolveEnvVars(value: string): string; /** * Deep-resolve all string values in an object/array tree. * * Recursively walks through nested objects and arrays, resolving any * `{env:VARIABLE_NAME}` patterns found in string values. * * @param obj - The value to resolve (string, object, array, or primitive). * @returns A deeply resolved copy of the input. */ export declare function resolveEnvVarsDeep(obj: unknown): unknown; //# sourceMappingURL=env-resolver.d.ts.map