import { ComponentType } from "react"; import type { Options } from "react-markdown"; import { type BlockPolicyType } from "rehype-harden"; export type { BlockPolicyType }; interface HardenReactMarkdownOptions { defaultOrigin?: string; allowedLinkPrefixes?: string[]; allowedImagePrefixes?: string[]; allowDataImages?: boolean; allowedProtocols?: string[]; linkBlockPolicy?: BlockPolicyType; imageBlockPolicy?: BlockPolicyType; } export default function hardenReactMarkdown(MarkdownComponent: ComponentType): ComponentType;