import { type TextStyle } from "react-native"; import type { IOMarkdownRenderRules, MarkdownNodeType } from "./types"; export type IOMarkdownProps = { /** The markdown string to render */ content: string; /** Override default link press behavior. Default: Linking.openURL(url) */ onLinkPress?: (url: string) => void; /** Paragraph alignment. Default: "auto" */ textAlign?: TextStyle["textAlign"]; /** Override default text size */ small?: boolean; /** Test ID for the container View */ testID?: string; /** Node types to disable (parser will skip them entirely) */ disabledRules?: ReadonlyArray; /** Override individual render rules */ rules?: IOMarkdownRenderRules; }; /** * Full-featured markdown component that renders markdown content * using design system primitives. * * @remarks * This component is still experimental. Check that it is correctly * formatting your text before proceeding to use it. * * Supports headings, paragraphs, bold, italic, links, lists, * blockquotes (as Banner), images, code, horizontal rules, and HTML breaks. * * Individual node types can be disabled via `disabledRules`, and * render rules can be overridden via the `rules` prop. */ export declare const IOMarkdown: ({ content, onLinkPress, textAlign, small, testID, disabledRules, rules }: IOMarkdownProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=IOMarkdown.d.ts.map