export type Node = { kind: 'literal'; value: number | string | boolean | null; } | { kind: 'column'; id: string; at: number; } | { kind: 'unary'; operator: '-' | '+' | 'not'; operand: Node; } | { kind: 'binary'; operator: BinaryOperator; left: Node; right: Node; } | { kind: 'call'; name: string; args: Node[]; at: number; }; export type BinaryOperator = '+' | '-' | '*' | '/' | '%' | '^' | '&' | '=' | '<>' | '<' | '<=' | '>' | '>=' | 'and' | 'or'; export declare const MAX_DEPTH = 32; export declare const MAX_NODES = 512; export declare function parse(source: string): Node; export declare function columnsUsed(node: Node): string[];