import dayjs from 'dayjs'; import type { Dayjs } from 'dayjs'; interface Props { value?: T; onChange?: (value: T, ...rest: any[]) => void; format?: string; } declare const useControlled: (props: Props) => [dayjs.Dayjs, (value: Dayjs | undefined) => void]; export default useControlled;