import { JSXElement } from 'solid-js';
import { Atom } from '@cn-ui/use';
import { CheckBoxProps } from './CheckBox';
import { CheckGroupData } from './CheckGroup';
export interface CheckGroupControllerProps extends Omit<CheckBoxProps, 'onValueInput' | 'value' | 'indeterminate'> {
    data: CheckGroupData[] | Atom<CheckGroupData[]>;
    children?: JSXElement;
}
export declare const useCheckGroup: (data: CheckGroupData[] | Atom<CheckGroupData[]>) => {
    state: Atom<"all" | "none" | "part">;
    inverse(): void;
    setAll(value: boolean): void;
};
/** 数据驱动的 生成组件 */
export declare const CheckGroupController: import("solid-js").Component<Omit<CheckGroupControllerProps, "style" | "class"> & {
    ref?: HTMLDivElement | ((el: HTMLDivElement) => void);
    style?: string | import("solid-js").JSX.CSSProperties;
    className?: string | string[] | typeof import("@cn-ui/use").classNames;
    class?: string | string[] | typeof import("@cn-ui/use").classNames;
    classList?: typeof import("@cn-ui/use").classNames | {
        [k: string]: boolean;
    };
}>;
