import { type MarkedExtension } from 'marked';
export type ParseMarkdownOptions = {
    markedConfig?: MarkedExtension;
    openLinksInNewTab?: boolean;
    injectTail?: boolean;
    tailContent?: string;
    /**
     * Escape raw HTML tokens in markdown source (recommended for untrusted LLM output).
     * @default false
     */
    escapeRawHtml?: boolean;
};
export declare function parseMarkdown(source: string, options?: ParseMarkdownOptions): string;
