world/book/node_modules/honkit/lib/json/encodeSummaryArticleWithCache.d.ts
2025-05-12 05:38:44 +09:00

20 lines
550 B
TypeScript

/**
Encode a SummaryArticle to JSON
@param {SummaryArticle}
@return {Object}
*/
import SummaryArticle from "../models/summaryArticle";
export type EncodedArticle = {
title: string;
level: string;
depth: number;
anchor: string;
url: string;
path: string;
ref: string;
articles: EncodedArticle[];
};
declare function encodeSummaryArticleWithCache(article: SummaryArticle, recursive?: boolean): EncodedArticle;
export default encodeSummaryArticleWithCache;
//# sourceMappingURL=encodeSummaryArticleWithCache.d.ts.map