import React, { RefObject, ReactNode } from "react"; export interface PickerOption { text: string | number; value: string | number; children?: PickerOption[]; } export declare type PickerValue = string | PickerOption; export interface PickerProps { visible?: boolean; title?: ReactNode | string; data: (T | T[])[]; defaultValueData?: (string | number)[]; className?: string; style?: React.CSSProperties; mode?: "normal" | "3D"; swipeDuration?: number | string; onConfirm?: (selectedValue: T[], index: number) => void; onCancel?: () => void; onClose?: () => void; onCloseUpdate?: (selectedValue: (string | number)[], list: PickerOption[], pickerRef: RefObject) => void; onChange?: (index: number, value: (string | number)[], selectedOptions: PickerValue[]) => void; } declare const Picker: React.ForwardRefExoticComponent> & React.RefAttributes>; export default Picker;