import { Component } from 'react'; import { getBiCallback as getCallback } from 'ricos-common'; import type { RicosViewerProps } from './index'; interface State { isPreviewExpanded: boolean; localeData: { locale?: string; localeResource?: Record; }; remountKey: boolean; error?: string; TextSelectionToolbar?: any; LinkPreviewPopover?: any; } export declare class RicosViewer extends Component { viewerRef: HTMLElement; getBiCallback: typeof getCallback; static getDerivedStateFromError(error: string): { error: string; }; componentDidCatch(error: any, errorInfo: any): void; constructor(props: RicosViewerProps); static defaultProps: { onError: (err: any) => never; locale: string; }; getLocale: () => any; componentDidMount(): void; onPreviewExpand: () => void; setRef: (ref: any) => any; loadTextSelection: () => void; loadLinkPreviewPopover: () => void; onMouseOver: () => void; render(): (JSX.Element | null)[] | null; } export {}; //# sourceMappingURL=RicosViewer.d.ts.map