///
import type { ViewStyle, TextStyle } from "react-native";
import type { InputProps, DoneBarProps, BackdropAnimationType } from "../types";
export declare type Mode = "date" | "time" | "datetime" | "countdown";
export declare type IOSDisplay = "default" | "compact" | "inline" | "spinner";
export declare type Display = "spinner" | "default" | "clock" | "calendar";
export declare type MinuteInterval = 1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30;
export declare type DatePickerProps = {
androidCustomProps?: {
[key: string]: any;
};
androidDisplay?: Display;
androidMode?: Mode;
backdropAnimation?: BackdropAnimationType;
containerStyle?: ViewStyle;
disabled?: boolean;
DoneBarComponent?: React.ElementType;
doneButtonLabel?: string;
InputComponent?: React.ElementType;
iosCompactHiddenStyle?: ViewStyle;
iosCustomProps?: {
[key: string]: any;
};
iosDisplay?: IOSDisplay;
iosMode?: Mode;
is24Hour?: boolean;
isNullable?: boolean;
locale?: string;
maximumDate?: Date;
minimumDate?: Date;
minuteInterval?: MinuteInterval;
neutralButtonLabel?: string;
onClose?: () => void;
onDateChange: (date: Date | null) => void;
onOpen?: () => void;
style?: ViewStyle;
text: string;
textColor?: string;
textInputStyle?: TextStyle;
timeZoneOffsetInMinutes?: number;
title?: string;
touchableStyle?: ViewStyle;
value: Date | null;
};
export interface DatePickerInstance {
open: () => void;
close: () => void;
}