/**
 * Expression Evaluator for Vorion DSL
 *
 * Evaluates AST nodes against a context object to produce boolean results.
 *
 * Features:
 * - Dotted identifier resolution (intent.action -> context.intent.action)
 * - Type coercion for comparisons
 * - Null-safe evaluation
 * - LIKE pattern matching with wildcards
 *
 * @packageDocumentation
 */
import { ASTNode } from './parser.js';
/**
 * Context type for evaluation
 */
export type EvaluationContext = Record<string, unknown>;
/**
 * Error thrown during evaluation
 */
export declare class EvaluatorError extends Error {
    node: ASTNode;
    context?: EvaluationContext;
    constructor(message: string, node: ASTNode, context?: EvaluationContext);
}
/**
 * Resolve a dotted path in the context object
 *
 * @param path - Dotted path (e.g., "intent.action")
 * @param context - Context object to resolve against
 * @returns The resolved value or undefined if not found
 *
 * @example
 * ```ts
 * const context = { intent: { action: 'read' } };
 * resolvePath('intent.action', context); // 'read'
 * resolvePath('intent.missing', context); // undefined
 * ```
 */
export declare function resolvePath(path: string, context: EvaluationContext): unknown;
/**
 * Evaluate an AST against a context object
 *
 * @param ast - The AST to evaluate
 * @param context - The context object to evaluate against
 * @returns Boolean result of the evaluation
 * @throws EvaluatorError if evaluation fails
 *
 * @example
 * ```ts
 * const ast = parse(tokenize("intent.action == 'read'"));
 * const context = { intent: { action: 'read' } };
 * evaluate(ast, context); // true
 * ```
 */
export declare function evaluate(ast: ASTNode, context: EvaluationContext): boolean;
//# sourceMappingURL=evaluator.d.ts.map