import type { WikiPageSection } from "./contracts.js"; export declare function hasRenderedEmptyHeading(markdown: string): boolean; /** Remove the first root heading, including its complete source syntax. */ export declare function stripFirstHeading(markdown: string): string; /** Parse Markdown body text whose offsets are relative to the supplied string. */ export declare function parseWikiBodySections(markdown: string, pageId: string): WikiPageSection[]; /** Parse a complete OKF document while keeping section offsets in that document. */ export declare function parseWikiDocumentSections(markdown: string, pageId: string): WikiPageSection[]; //# sourceMappingURL=wiki-sections.d.ts.map