/** * Recursively walks a value and replaces ${{KEY}} placeholders in strings * with matching env values. Collects any unresolved references as errors. */ export declare function interpolateEnv(value: T, env: Record, unresolved: Set): T; /** * Recursively walks a value and replaces {{KEY}} placeholders in strings * with matching variable values. Collects any unresolved simple references. */ export declare function interpolateVars(value: T, vars: Record, unresolved: Set): T; /** * Scans a value tree for any remaining {{...}} patterns after interpolateVars * has resolved simple keys. Catches dotted paths, array indexing, and other * complex references that are not valid in item fields. */ export declare function findLeftoverVarRefs(value: unknown): string[];