import type { RefObject } from 'react'; import React, { Component } from 'react'; import { getBiCallback as getCallback } from './biUtils'; import type { RicosViewerProps } from './types'; interface State { error?: string; TextSelectionToolbar?: any; LinkPreviewPopover?: any; debugInvokedWithMouse?: boolean; } declare class RicosViewerNext extends Component { viewerRef: RefObject; getBiCallback: typeof getCallback; static displayName: string; static getDerivedStateFromError(error: string): { error: string; }; componentDidCatch(error: any, errorInfo: any): void; constructor(props: RicosViewerProps); static defaultProps: { onError: (err: any) => never; }; componentDidMount(): void; loadTextSelection: () => void; loadLinkPreviewPopover: () => void; onMouseOver: () => void; render(): (React.JSX.Element | null)[] | null; } export default RicosViewerNext; //# sourceMappingURL=RicosViewerNext.d.ts.map