import { Component } from 'react'; import type { RichContentViewerProps } from 'wix-rich-content-viewer'; import type { DraftContent } from 'wix-rich-content-common'; import type { ContentStateTransformation } from 'ricos-content/libs/preview'; interface Props extends RichContentViewerProps { transformation: ContentStateTransformation; initialState: DraftContent; } interface State { isPreviewExpanded: boolean; } declare class RichContentPreview extends Component { static defaultProps: { transformation: ContentStateTransformation; }; styles: Record; constructor(props: Props); onPreviewExpand: () => void; render(): JSX.Element; } export default RichContentPreview; //# sourceMappingURL=RichContentPreview.d.ts.map