/** * Use Expression Evaluation * * Handles `use` expressions: * - Resolves identifiers (static, variable, computed) to scheme + resource * - Looks up registered resolvers from ctx.resolvers * - Detects circular resolution via ctx.resolvingSchemes * - Executes 'source' results in a child scope * - Returns 'value' results directly * * Interface requirements: * - evaluateUseExpr(node) -> Promise * * Error Contracts: * - RILL-R054: Scheme not registered in resolvers * - RILL-R055: Circular resolution detected * - RILL-R056: Resolver callback throws * - RILL-R057: Variable/computed form produces non-string * - RILL-R058: Resolved string missing ':' separator * - RILL-R061: parseSource not configured when resolver returns source * * @internal */ import type { UseExprNode } from '../../../../types.js'; import type { RillValue } from '../../types/structures.js'; import type { EvalState } from '../state.js'; /** * Evaluate a use<> expression. * * Resolves the identifier to a scheme + resource string, calls the * registered resolver, and returns the result value (or executes source). */ export declare function evaluateUseExpr(s: EvalState, node: UseExprNode): Promise;