import { Moment } from 'moment';
import { DatePickerProps } from './DatePicker';
declare type TProps<D> = {
    onInitialChange?: (v: Moment | null) => void;
    display?: D;
} & DatePickerProps;
interface DisplayToFormatAndTimeMode<D> {
    (display?: D): [string[]] | [string[], string[]];
}
declare const usePicker: <D>(props: TProps<D>, displayToFormatAndTimeMode: DisplayToFormatAndTimeMode<D>, mode: 'date' | 'month') => any[];
export default usePicker;
