export type PyTokenType = 'NOT' | 'AND' | 'OR' | 'L_PAREN' | 'R_PAREN' | 'TERMINAL'; export type PyToken = { type: PyTokenType; value?: string; }; export declare function findEndOfWord(input: string, position: number): number; export declare function tokenizePythonBinaryExpr(input: string): Array; export type PyExpr = { operator?: 'AND' | 'OR' | 'NOT'; terminal?: string; left?: PyExpr; right?: PyExpr; }; export declare function parsePythonBinaryExpr(input: string): PyExpr; export declare function evaluatePythonExpr(input: string, env?: Record): boolean; //# sourceMappingURL=parsePythonBinaryExpr.d.ts.map