import * as React_2 from 'react'; /** * Renders static Markdown with the SDK's sanitization and URL policies. * * Why custom: shadcn/ui has no Markdown renderer. This wraps the sanitizing * `SafeStreamdown` renderer and maps heading tags onto the design system's * `H1`-`H6` so rendered Markdown inherits the app's typography and link/image * security policy rather than emitting raw, unsanitized HTML. * * Links admit only absolute HTTP(S) URLs. Images admit only absolute HTTPS * URLs. Blocked URLs render as inert text and never reach `onOpenLink`. * * When `onOpenLink` is provided, the click is canceled and routed through that * host handler. The anchor omits `target="_blank"` because host-mediated links * must not declare a native popup navigation that the miniapp sandbox forbids. */ export declare const Markdown: React_2.MemoExoticComponent<({ children, className, onOpenLink, }: MarkdownProps) => React_2.JSX.Element>; export declare interface MarkdownProps { /** Tailwind classes applied to the renderer root. */ className?: string; /** Static Markdown source. */ children: string; /** Opens an admitted absolute HTTP(S) link through the miniapp's host path. */ onOpenLink?: (url: string) => void; } export { }