import type { Components, ControlsConfig } from 'streamdown'; export interface MarkdownProps { children: string; /** Renders as text still arriving: a caret, and unfinished syntax left open. */ isStreaming?: boolean; /** The copy and download buttons on code blocks, tables and diagrams. */ controls?: ControlsConfig; /** Per-tag overrides of the rendered elements. */ components?: Components; httpsImagesOnly?: boolean; /** Sets it at the page's text size, for Markdown inside other UI rather than a document of its own. */ compact?: boolean; } type Impl = typeof import('./MarkdownImpl.js'); /** Starts loading the renderer ahead of the markdown that needs it. A failed * load is forgotten, so the next render tries again. */ export declare function preloadMarkdown(): Promise; /** True once the renderer has loaded or failed, or `waitMs` has passed, so a * host can hold markdown back rather than show it as plain text that then * reflows. Starts the load. */ export declare function useMarkdownReady(waitMs: number): boolean; /** Markdown, with highlighted code, math and mermaid diagrams. Links leave in a * new tab, and inline code breaks after path separators. */ export default function Markdown(props: MarkdownProps): import("react").JSX.Element; export {};