export declare function isTruthyEnvValue(value: string | undefined | null): boolean; /** * Environment-value normalization and explicit alias resolution. */ /** * Normalize an env value: trim whitespace, return `undefined` for empty/missing. * Accepts `unknown` so callers don't need to narrow first (useful for config objects). */ export declare function normalizeEnvValue(value: unknown): string | undefined; /** * Same as `normalizeEnvValue` but returns `null` instead of `undefined`. * Convenient when building option objects where `null` means "absent". */ export declare function normalizeEnvValueOrNull(value: unknown): string | null; /** * Returns `true` if a boolean-ish env var is falsy (`"0"`, `"false"`, `"off"`, `"no"`). * Missing or empty values return `false` (i.e. the feature is enabled by default). */ export declare function isEnvDisabled(value: string | undefined): boolean; /** * Authorization predicate for dangerous operator opt-ins whose documented * value is exactly `true`, such as `ELIZA_ALLOW_DESTRUCTIVE_MIGRATIONS`. * Deliberately strict — unlike {@link parseBooleanValue}, `"1"`, `"yes"`, and * `"on"` authorize nothing — so capability gates, restore guards, and boot * warnings all evaluate the same operator decision. Loosen only with a * coordinated change across every reader of the flag. */ export declare function isExactTrueEnvFlag(value: string | undefined): boolean; /** Resolve an explicit alias table without mutating the supplied environment. */ export declare function resolveEnvAlias(key: string, aliases: readonly (readonly [string, string])[] | undefined, env: Record | null): string | undefined;