import { TocItem } from '../../models'; declare type NormalizeUrl = (path: string, hash: string | undefined) => string | null | undefined; export declare class TocItemRegistry { private itemById; private parentById; private itemIdByUrl; private normalizeUrl; constructor(items: TocItem[], normalizeUrl: NormalizeUrl); getIdByUrl(url: string): string | undefined; getItemById(id: string): TocItem | undefined; getParentId(id: string): string; getParentIds(id: string): string[]; getChildIds(id: string): string[]; private consumeItems; } export {};