import React from 'react';
import { PisellContextType } from '../pisell-config-provider/context';
import './index.less';
export interface PisellCheckboxGroupOption {
    label: string;
    value: string;
    disabled?: boolean;
    error?: boolean;
    [key: string]: any;
}
declare type PisellCheckboxGroupValue = string | string[] | any;
export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
    platform?: PisellContextType['platform'];
    direction?: 'horizontal' | 'vertical';
    fullWidth?: boolean;
    gap?: number;
    padding?: number;
    options: PisellCheckboxGroupOption[];
    onChange?: (value: PisellCheckboxGroupValue, item: PisellCheckboxGroupOption) => void;
    value?: PisellCheckboxGroupValue;
    renderOption?: (option: PisellCheckboxGroupOption, active: boolean, index: number) => React.ReactNode;
    rowKey?: string;
    mode?: 'multiple' | 'single';
    iconPosition?: 'left' | 'right' | 'hide';
    optionClassName?: string;
    optionActiveClassName?: string;
    onChangeDebounce?: boolean;
    onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: PisellCheckboxGroupOption) => void;
    showActiveBackground?: boolean;
}
/**
 * @title: PisellCheckboxGroup
 * @description: 选中组件
 * @param {PisellCheckboxGroupProps} props
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-08-16 10:34
 */
declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => JSX.Element;
export default PisellCheckboxGroup;
