15 lines
315 B
TypeScript
15 lines
315 B
TypeScript
export type SummaryPart = {
|
|
title: string;
|
|
articles: any[];
|
|
};
|
|
/**
|
|
Parse an HTML content into a tree of articles/parts
|
|
|
|
@param {string} html
|
|
@return {Object}
|
|
*/
|
|
declare function parseSummary(html: string): {
|
|
parts: SummaryPart[];
|
|
};
|
|
export default parseSummary;
|
|
//# sourceMappingURL=summary.d.ts.map
|