import { RefObject } from 'react'; import { RenderFunction, UnknownObject } from '@udecode/plate-common'; import { CursorData, CursorState } from '../types'; import { CursorProps } from './Cursor'; export interface CursorOverlayProps extends Pick, 'disableCaret' | 'disableSelection' | 'onRenderCaret' | 'onRenderSelectionRect' | 'as' | 'classNames' | 'prefixClassNames' | 'styles'> { /** * Cursor states to use for calculating the overlay positions, by key. */ cursors?: Record>; /** * Container the overlay will be rendered in. * If set, all returned overlay positions will be relative to this container. */ containerRef?: RefObject; /** * Whether to refresh the cursor overlay positions on container resize. * @default true */ refreshOnResize?: boolean; /** * Overrides `Cursor` component. */ onRenderCursor?: RenderFunction; } export declare const CursorOverlayContent: ({ as, classNames, prefixClassNames, styles, onRenderCursor: CursorComponent, onRenderSelectionRect, onRenderCaret, ...props }: CursorOverlayProps) => JSX.Element; export declare const CursorOverlay: (props: CursorOverlayProps) => JSX.Element | null; //# sourceMappingURL=CursorOverlay.d.ts.map