import { DatepickerState } from '@ptsecurity/mosaic-state'; import { HTMLAttributes, Ref, RefObject } from 'react'; import { A11yFocusOptions } from '../hooks'; import { A11yFocusableRef, A11ySyntheticHandler } from '../types'; export interface A11yDatepickerOptions extends A11yFocusOptions { onChange?: A11ySyntheticHandler; value?: Date; onOpen?: () => void; onClose?: () => void; } export interface A11yDatepicker { datepickerProps: HTMLAttributes; datepickerRef: RefObject; datepickerState: DatepickerState; opened: boolean; open: () => void; close: () => void; } export declare const useDatepicker: (options: A11yDatepickerOptions, ref: Ref>) => A11yDatepicker;