import { type CustomComponents } from './RichText.components.js'; export interface RichTextPropsBase { /** An HTML tag or React Component to be rendered as the base element wrapper. The default is `div`. */ as?: ComponentGeneric; /** The JSON string that correspond to the Storefront API's [RichText format](https://shopify.dev/docs/apps/custom-data/metafields/types#rich-text-formatting). */ data: string; /** Customize how rich text components are rendered */ components?: CustomComponents; /** Remove rich text formatting and render plain text */ plain?: boolean; } /** @publicDocs */ export declare function RichText({ as, data, plain, components, ...passthroughProps }: RichTextProps): JSX.Element; export type RichTextProps = RichTextPropsBase & Omit, keyof RichTextPropsBase>; /** @publicDocs */ export type RichTextPropsForDocs = RichTextPropsBase;