import { EastFunction, Variable } from './functions'; export declare function maxDepth(...depths: number[]): number; /** Return the maximum depth of the AST. */ /** @internal */ export declare function astDepth(f: EastFunction): number; /** @internal */ export declare function replaceVariables(func: T, replacements: Record): T; /** @internal */ export declare function replaceVariable(func: T, old_name: string, new_var: Variable): T;