summary.d.ts 315 B

123456789101112131415
  1. export type SummaryPart = {
  2. title: string;
  3. articles: any[];
  4. };
  5. /**
  6. Parse an HTML content into a tree of articles/parts
  7. @param {string} html
  8. @return {Object}
  9. */
  10. declare function parseSummary(html: string): {
  11. parts: SummaryPart[];
  12. };
  13. export default parseSummary;
  14. //# sourceMappingURL=summary.d.ts.map