1 | import { Context } from '../context';
|
2 | export type UnaryOperatorHandler = (operand: any, ctx: Context) => boolean;
|
3 | export type BinaryOperatorHandler = (lhs: any, rhs: any, ctx: Context) => boolean;
|
4 | export type OperatorHandler = UnaryOperatorHandler | BinaryOperatorHandler;
|
5 | export type Operators = Record<string, OperatorHandler>;
|
6 | export declare const defaultOperators: Operators;
|
7 | export declare function equals(lhs: any, rhs: any): boolean;
|