import type { Dispatch, SetStateAction } from 'react'; interface Props { readonly defaultDate?: unknown | undefined; readonly defaultView?: 'hours' | 'minutes' | 'seconds' | undefined; readonly onChange?: ((date: unknown) => void) | undefined; readonly onViewChange?: ((view: 'hours' | 'minutes' | 'seconds') => void) | undefined; } export interface State { readonly date: unknown; readonly handleChange: (date: unknown) => void; readonly handleViewChange: (view: 'hours' | 'minutes' | 'seconds') => void; readonly setDate: Dispatch>; readonly setView: Dispatch>; readonly view: 'hours' | 'minutes' | 'seconds'; } export default function useClockPicker({ defaultDate, defaultView, onChange, onViewChange, }?: Partial): State; export {};