import { AST } from './core'; import { ZebuLanguageReturning } from './lang'; declare type Fixity = 'left' | 'right' | 'pre' | 'post'; declare type SeqFn = (...xs: unknown[]) => unknown; declare type OpExpr = { pattern: string[]; fn: SeqFn; }; declare type Rule = { fixity: Fixity; operators: OpExpr[]; }; export declare const op: ZebuLanguageReturning>; export declare function buildAST(rules: Rule[], rootExpr: string): AST; export {};