export interface MarkdownSection { start: number; end: number; } export declare function markdownBodyStart(content: string): number; /** File offsets, preserving CRLF and whitespace; only structural headings split sections. */ export declare function markdownSectionAtLine(content: string, line: number): MarkdownSection | null; export declare function replaceMarkdownSection(content: string, range: MarkdownSection, text: string): string; /** Offsets of whole file lines (1-based, inclusive), without the line ending of the last one. */ export declare function markdownLinesRange(content: string, first: number, last: number): MarkdownSection | null; /** Unlike a section, these lines keep whatever surrounds them. */ export declare function replaceMarkdownLines(content: string, range: MarkdownSection, text: string): string; /** Removes the lines and one separation, so that what they separated stays separated. */ export declare function removeMarkdownLines(content: string, range: MarkdownSection): string; //# sourceMappingURL=markdownSection.d.ts.map