import React from 'react'; import { SxProps, Theme } from '@mui/material'; export declare type SanityBlockContent = any[] | any; export declare type SanityBlockOr = T | SanityBlockContent; declare const CustomBlockContent: React.FC<{ className?: string; content: SanityBlockContent; tooltipText?: string; /** note: this is passed to the wrapper element */ sx?: SxProps; onClickModalLink?: (href: string) => any; }>; export declare function blocksToText(blocks: SanityBlockContent): string; export { CustomBlockContent as BlockContent };