/** * This file contains code adapted from the React Spectrum project. * * Copyright (c) 2018, Adobe Inc. and other contributors. * All rights reserved. * * This source code is licensed under the Apache License, Version 2.0 * found in the LICENSE.txt file at the root directory of this source tree. */ import { RefObject } from 'react'; import { DateFieldState, DatePickerState, DateRangePickerState, FocusableElement } from '../types'; export declare function useDatePickerGroup(state: DatePickerState | DateRangePickerState | DateFieldState, ref: RefObject, disableArrowNavigation?: boolean): { onKeyDown: (e: KeyboardEvent) => void; id?: string; role?: import("react").AriaRole; tabIndex?: number; style?: import("react").CSSProperties; className?: string; onKeyUp: (e: import("react").KeyboardEvent) => void; onClick: (e: import("react").MouseEvent) => void; onPointerDown?: (e: import("react").PointerEvent) => void; onMouseDown?: (e: import("react").MouseEvent) => void; onPointerUp?: (e: import("react").PointerEvent) => void; onDragStart?: (e: import("react").DragEvent) => void; onMouseEnter?: (e: import("react").MouseEvent) => void; onMouseLeave?: (e: import("react").MouseEvent) => void; onMouseUp?: (e: import("react").MouseEvent) => void; onTouchStart?: (e: import("react").TouchEvent) => void; onTouchMove?: (e: import("react").TouchEvent) => void; onTouchEnd?: (e: import("react").TouchEvent) => void; onTouchCancel?: (e: import("react").TouchEvent) => void; onFocus?: () => void; onPointerEnter?: (e: import("react").PointerEvent) => void; onContextMenu?: (e: import("react").MouseEvent) => void; 'aria-label'?: string; 'aria-labelledby'?: string; 'aria-details'?: string; 'aria-disabled'?: boolean; 'aria-invalid'?: boolean; 'aria-selected'?: boolean; 'aria-describedby'?: string; };