import type { IBranchNode, NodeIconMapping, TableOfContentsLinkWithId } from '../types';
export declare function useComputeToc(branchNodes: IBranchNode[]): TableOfContentsLinkWithId[];
export declare function computeToc(branchNodes: IBranchNode[], icons: NodeIconMapping): TableOfContentsLinkWithId[];
