/// <reference types="react" />
import type { NativeProps } from "../../../utils/with-native-props";
import type { CnPickerColumn } from './cn-picker-column';
import type { CnPickerValue } from './cn-picker-value';
import type { CnPickerValueExtend } from './cn-picker-value-extend';
import type { CnPickerProps } from './cn-picker-props';
export type CnPickerViewProps = {
    /**
     * 数据
     */
    columns: CnPickerColumn[] | ((value: CnPickerValue[]) => CnPickerColumn[]);
    /**
     * 受控值
     */
    value?: CnPickerValue[];
    /**
     * 默认选中项
     */
    defaultValue?: CnPickerValue[];
    /**
     * 是否允许通过鼠标滚轮进行选择
     */
    mouseWheel?: boolean;
    /**
     * 是否加载态（loading 效果）
     */
    loading?: boolean;
    /**
     * 加载态文案
     */
    loadingContent?: React.ReactNode;
    /**
     * 值改变时触发的回调函数
     */
    onChange?: (value: CnPickerValue[], extend: CnPickerValueExtend) => void;
} & Pick<CnPickerProps, 'renderLabel'> & NativeProps<'--height' | '--item-height' | '--item-font-size'>;
