import type { IHeading } from '../toc-protocol.js'; /** * Markdown heading */ export interface IMarkdownHeading extends IHeading { /** * Heading line */ line: number; } /** * Parses the provided string and returns a list of headings. * * @param text - Input text * @returns List of headings */ export declare function getHeadings(text: string): IMarkdownHeading[]; /** * Whether a MIME type corresponds to a Markdown flavor. */ export declare function isMarkdown(mime: string): boolean; export declare const MarkdownMimeType = "text/markdown"; //# sourceMappingURL=markdown.d.ts.map