///
import type { TextStyle, ViewStyle } from "react-native";
import type { InputProps, DoneBarProps, BackdropAnimationType } from "../types";
import { Picker as RNPicker } from "@react-native-picker/picker";
export declare type PickerItem = {
value: any;
label: string;
color?: string;
fontFamily?: string;
};
export declare type PickerProps = {
androidCustomProps?: {
[key: string]: any;
};
backdropAnimation?: BackdropAnimationType;
containerStyle?: ViewStyle;
disabled?: boolean;
DoneBarComponent?: React.ElementType;
doneButtonLabel?: string;
InputComponent?: React.ElementType;
iosCustomProps?: {
[key: string]: any;
};
isNullable?: boolean;
item?: PickerItem;
items: Array;
mode?: "dialog" | "dropdown";
onClose?: () => void;
onItemChange: (item: PickerItem, index: number) => void;
onOpen?: () => void;
placeholder?: string;
style?: ViewStyle;
textInputStyle?: TextStyle;
title?: string;
touchableStyle?: ViewStyle;
itemFontFamily?: string;
itemColor?: string;
};
export interface PickerInstance {
open: () => void;
close: () => void;
}
export declare type AndroidPickerInstance = RNPicker & {
focus: () => void;
blur: () => void;
};