import { type KeyboardEventHandler } from 'react'; import type { _SelectionRef, SelectionAreaVariant } from './types.js'; import type { RelativeAbsolutePosition } from '../../types/pointer-events.js'; interface SelectionAreaProps { bounds: DOMRect; selection: [RelativeAbsolutePosition, RelativeAbsolutePosition]; variant: SelectionAreaVariant; focusable: boolean; interactable: boolean; bottomFormatter?: (value: number) => string; topFormatter?: (value: number) => string; onKeyDown: KeyboardEventHandler; onSelectionChange: ({ selection, accessible, }: { selection: [RelativeAbsolutePosition, RelativeAbsolutePosition]; accessible: boolean; }) => void; isBottomLabelRotated?: boolean; isTopLabelRotated?: boolean; } export declare const SelectionArea: (props: SelectionAreaProps & import("react").RefAttributes<_SelectionRef | null>) => React.ReactElement | null; export {};