import React from 'react'; import type { Props as BasePortalV2Props } from './BasePortalV2'; interface Props extends Omit { modifySelectionRect?: (rect: ClientRect) => ClientRect | null; } /** * TextSelectionPortalV2 is a modification of CursorPortalV2 that uses * selection start location as its origin to achieve better UX during editing. */ export declare function TextSelectionPortalV2({ children, className, containerElement, modifySelectionRect, ...props }: Props): React.JSX.Element; export {};