import * as Ast from "../../unified-latex-types"; /** * Split a list of nodes based on whether `splitFunc` returns `true`. * If `onlySplitOnFirstOccurrence` is set to true in the `options` object, then * there will be at most two segments returned. */ export declare function splitOnCondition(nodes: Ast.Node[], splitFunc?: (node: Ast.Node) => boolean, options?: { onlySplitOnFirstOccurrence?: boolean; }): { segments: Ast.Node[][]; separators: Ast.Node[]; };