import { SemanticTree } from "./types"; /** * lists headings in the given document * @param tree * @returns list of headers on the given page */ export declare const listHeadings: (tree: SemanticTree) => SemanticTree[]; /** * finds heading in the current branch * @param branches */ export declare const findNearestHeading: (branches: SemanticTree[]) => SemanticTree | undefined;