export type Title = {
    key: string;
    href: string;
    title: string;
    children: Title[];
    nodeName: string;
};
export declare const formatContents: (rootElement: NodeListOf<HTMLElement>) => Title[];
