import TurndownService from 'turndown';
export declare function buildTurndown(): TurndownService;
export declare function htmlToMarkdown(html: string): string;
export interface Heading {
    level: number;
    text: string;
    lineIndex: number;
}
export declare function parseHeadings(lines: string[]): Heading[];
export declare function lineStartCharOffsets(lines: string[]): number[];
export declare function extractSection(markdown: string, section: string, sectionIndex?: number): {
    content: string;
    matched: boolean;
};
export declare function extractLinksAndImages(markdown: string): {
    links: string[];
    images: string[];
};
export declare function filterDecorativeImages(markdown: string): string;
export declare function resolveRelativeUrls(markdown: string, baseUrl: string): string;
//# sourceMappingURL=markdown.d.ts.map