import type { ReactNode } from "indusagi/react-host";
import type { InkThemeAdapter } from "../theme-adapter.js";
interface MarkdownProps {
    /** The raw markdown source to render. */
    children: string;
    /** The theme adapter colours resolve against. */
    theme: InkThemeAdapter;
    /** When false, fenced code is rendered plain (no syntax highlighting). */
    highlightCode?: boolean;
    /** Render every text run dim (used for de-emphasised content). */
    dim?: boolean;
}
/**
 * Render markdown as styled terminal output.
 *
 * Tables become real flexbox columns ({@link MarkdownTable}); every other token
 * is formatted to a chalk-ANSI string via {@link formatToken} and accumulated
 * into a single `<Text>` run. Ink passes embedded ANSI straight to the terminal,
 * so the chalk escapes render as colour. The `theme` is passed explicitly — the
 * rebuild has no `useTheme()` hook.
 */
export declare function Markdown({ children, theme, highlightCode, dim }: MarkdownProps): ReactNode;
export {};
