import type { Node, Program } from 'oxc-parser'; import type { EvaluationResult, AstEvaluatorPlugin } from './types.mjs'; /** * Sentinel value returned by plugins and evaluateNode to signal "can't handle this node". * Using a symbol avoids the cost of Error construction and stack trace capture. */ export declare const DEOPT: unique symbol; export type Deopt = typeof DEOPT; /** * Simple static evaluator for object expressions with nested objects. * Based on Babel's evaluation approach but simplified for our specific use case. * * Handles: * - Objects with nested objects: { root: { color: 'red', padding: 0 } } * - String literals, numeric literals, boolean literals, null * - Simple property access * * Plugins can extend evaluation to handle additional node types. */ export declare function astEvaluator(node: Node, programAst: Program, plugins?: AstEvaluatorPlugin[]): EvaluationResult;