/** * @param {string} text * @returns {DocEntry[]} */ export function parseDocsIndex(text: string): DocEntry[]; /** * Lines that look like link items but do not parse as one. Zero on a file * in the known format; anything else is upstream changing shape, which the * bundle script refuses to ship and the runtime reports. * * @param {string} text * @returns {number} */ export function countUnparsedLinkLines(text: string): number; export type DocEntry = { id: number; title: string; url: string; description: string; section: string; };