import { StandardProps } from '@tarojs/components'; import { FC } from 'react'; import { PickerMode } from './scrollPicker'; import { RPickerProps } from './optionsPicker'; import { CustomObj } from '../../common/type-utils'; export interface BaseProps { initVals?: Array; txtKey: string; idKey: string; options: Array>; onChange?: (val: any, obj?: any) => void; } interface BasePickerProps extends BaseProps, PickerMode, RPickerProps { showStatus: boolean; loading: boolean; isPicker: boolean; isSearch: boolean; title: string; circle: number | string; lineHeight: number | string; cancelTxt: string; okTxt: string; closeIcon: string; titleCls: string; onClose: () => void; onConfirm: (val: any, obj?: any) => void; } declare const YgPicker: FC & StandardProps>; export default YgPicker;