export declare function search(simplificationFunction: any, node: any, preOrder: any): any; declare class TreeSearchImpl { /** * Returns a function that performs a preorder search on the tree for the given * simplification function * */ preOrder(simplificationFunction: any): (node: any) => any; /** * Returns a function that performs a postorder search on the tree for the given * simplification function * */ postOrder(simplificationFunction: any): (node: any) => any; } export declare const TreeSearch: TreeSearchImpl; export {};