/** Convert an HTML/rich-text fragment to Markdown. Plain text passes through. */
export declare function htmlToMarkdown(html: string | null | undefined): string;
export interface DocumentMarkdownInput {
    title?: string | null;
    /** The document's `data` JSON column. */
    data?: Record<string, unknown> | null;
    /** Pre-extracted plain text fallback (the `plainText` column). */
    plainText?: string | null;
}
/**
 * Render a published document to clean Markdown:
 *   `# Title`, an optional one-line takeaway, then the body.
 */
export declare function documentToMarkdown(doc: DocumentMarkdownInput): string;
//# sourceMappingURL=content-markdown.d.ts.map