import type { ValueIr } from "../../../core/domain/facts/value-ir.js"; import type { SyntaxNode } from "../../../infrastructure/parser/ts-utils.js"; export type TypeResolver = (name: string, scope: SyntaxNode) => string | null; /** * A dotted read rooted at a name whose declared type resolves is a * configuration locator, never its value. Resolving a key to a per-environment * value is the linker's work, so the locator names the declaration and the * path, and nothing else. */ export declare function foldGoConfigRef(node: SyntaxNode, scope: SyntaxNode, typeOf: TypeResolver): ValueIr | null;