import React from 'react'; import { ValueType, PickerCellMovingStatus } from '../picker-view'; import { PickerProps } from './type'; export * from './type'; export { MultiPicker, PickerCell, Cascader } from '../picker-view'; export interface PickerRef { /** * 最外层元素 DOM * @en The outermost element DOM */ dom: HTMLDivElement | null; /** * 每一列的滑动状态 * @en Sliding state of each column */ getCellMovingStatus: () => PickerCellMovingStatus[]; /** * 手动更新元素布局 * @en Manually update the element layout */ updateLayout: () => void; /** * 获取所有列的值 * @en Get all column values */ getAllColumnValues: () => ValueType[]; /** * 获取第 n 列的值 * @en Get the value of the nth column */ getColumnValue: (index: number) => ValueType; /** * 直接跳到当前最近一行(调用时将中断滚动) * @en Jump directly to the current most recent line (will break scrolling when called) */ scrollToCurrentIndex: () => void; } declare const _default: React.ForwardRefExoticComponent> & { displayName?: string | undefined; }; /** * 选择器组件,形式是弹起的浮层。 * @en The selector component, in the form of a popup layer. * @type 数据录入 * @type_en Data Entry * @name 选择器 * @name_en Picker * @displayName Picker */ export default _default;