/// <reference types="react" />
import './picker.scss';
import { prompt } from './prompt';
import type { CnPickerProps, CnPickerRef, CnPickerActions, CnPickerColumn } from './types';
export declare const CnPicker: import("react").NamedExoticComponent<{
    columns: CnPickerColumn[] | ((value: CnPickerColumn[]) => CnPickerColumn[]);
    value?: string[];
    defaultValue?: string[];
    loading?: boolean;
    loadingContent?: import("react").ReactNode;
    onSelect?: (value: string[], extend: import("../cn-picker-view/types").CnPickerValueExtend) => void;
    onConfirm?: (value: string[], extend: import("../cn-picker-view/types").CnPickerValueExtend) => void;
    onCancel?: () => void;
    onClose?: () => void;
    closeOnMaskClick?: boolean;
    visible?: boolean;
    title?: import("react").ReactNode;
    confirmText?: import("react").ReactNode;
    cancelText?: import("react").ReactNode;
    children?: (items: import("../cn-picker-view/types").CnPickerColumnItem[], actions: import("../cn-picker-view/types").CnPickerActions) => import("react").ReactNode;
    renderLabel?: (item: import("../cn-picker-view/types").CnPickerColumnItem) => import("react").ReactNode;
    mouseWheel?: boolean;
    popupClassName?: string;
    popupStyle?: import("react").CSSProperties;
} & Pick<import("../cn-picker-view/types").PopupBaseProps, "onClick" | "getContainer" | "stopPropagation" | "afterShow" | "afterClose" | "forceRender" | "destroyOnClose"> & {
    className?: string;
    style?: import("react").CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>;
    tabIndex?: number;
} & import("react").AriaAttributes & import("react").RefAttributes<CnPickerActions>> & {
    readonly type: import("react").ForwardRefExoticComponent<{
        columns: CnPickerColumn[] | ((value: CnPickerColumn[]) => CnPickerColumn[]);
        value?: string[];
        defaultValue?: string[];
        loading?: boolean;
        loadingContent?: import("react").ReactNode;
        onSelect?: (value: string[], extend: import("../cn-picker-view/types").CnPickerValueExtend) => void;
        onConfirm?: (value: string[], extend: import("../cn-picker-view/types").CnPickerValueExtend) => void;
        onCancel?: () => void;
        onClose?: () => void;
        closeOnMaskClick?: boolean;
        visible?: boolean;
        title?: import("react").ReactNode;
        confirmText?: import("react").ReactNode;
        cancelText?: import("react").ReactNode;
        children?: (items: import("../cn-picker-view/types").CnPickerColumnItem[], actions: import("../cn-picker-view/types").CnPickerActions) => import("react").ReactNode;
        renderLabel?: (item: import("../cn-picker-view/types").CnPickerColumnItem) => import("react").ReactNode;
        mouseWheel?: boolean;
        popupClassName?: string;
        popupStyle?: import("react").CSSProperties;
    } & Pick<import("../cn-picker-view/types").PopupBaseProps, "onClick" | "getContainer" | "stopPropagation" | "afterShow" | "afterClose" | "forceRender" | "destroyOnClose"> & {
        className?: string;
        style?: import("react").CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>;
        tabIndex?: number;
    } & import("react").AriaAttributes & import("react").RefAttributes<CnPickerActions>>;
} & {
    prompt: typeof prompt;
};
export type { CnPickerProps, CnPickerRef, CnPickerActions, CnPickerColumn };
