interface TocEntry { file?: string; selected?: boolean; folderName?: string; groupName?: string; children?: TocEntry[]; [key: string]: unknown; } /** * Write TOC files (toc.json and sub-TOC files) to disk. * @param dataDir - The data directory to write TOC files into. * @param toc - The TOC entries to write. */ export declare function writeTocs(dataDir: string, toc: TocEntry[]): void; export {}; //# sourceMappingURL=writeTocs.d.ts.map