import { TNode, Value, Renderable } from '@tempots/dom';
export type MarkdownOptions = {
    content: Value<string>;
    /** Escape HTML by default for safety. Set true to allow raw HTML passthrough. */
    allowHtml?: Value<boolean>;
    /**
     * Allow potentially dangerous protocols in links and images (e.g., `data:`, `javascript:`).
     * **WARNING: This is unsafe!** Enabling this opens you up to XSS attacks.
     * Only enable if you completely trust the markdown source.
     * @default false
     */
    allowDangerousProtocol?: Value<boolean>;
    features?: Value<{
        gfm?: boolean;
    }>;
    cssInjection?: 'link' | 'none';
};
/**
 * Markdown component: renders Markdown to HTML using micromark.
 * - Escapes HTML by default (allowHtml: false)
 * - Applies bc-markdown typography styles for consistent Markdown rendering
 * - Ships as separate subpath bundle (@tempots/beatui/markdown)
 */
export declare function Markdown(options: MarkdownOptions, ...children: TNode[]): Renderable;
