export interface ToCEntry { id: string; label: string; subEntries: ToCEntry[]; type: ToCEntryType; } export enum ToCEntryType{ Page =0, Section = 1 }