import { SemanticTree } from "./types"; declare type AttachedHeading = null | { heading: HTMLElement; payload: string; type: 'labelledby' | 'contain'; } | { payload: string; type: 'labeled'; } | { payload: string; type: 'error' | 'warning'; }; export declare const findHeadingForNode: (node: HTMLElement) => AttachedHeading; /** * returns a label for a given tree node * @param branch */ export declare const getCorrespondingHeading: (branch: SemanticTree) => AttachedHeading; export {};