import { default as React } from 'react'; import { Flex } from '../flex'; export type GroupProps = Omit, 'direction' | 'value' | 'onValueChange' | 'defaultValue'> & { name?: string; required?: boolean; disabled?: boolean; defaultValue?: string[]; value?: string[]; direction?: 'row' | 'column'; onValueChange?: (value: string[]) => void; }; export declare const Group: React.ForwardRefExoticComponent, HTMLSpanElement>, "ref"> & React.RefAttributes, "ref"> | Omit, HTMLSpanElement>, "ref"> & React.RefAttributes, "ref"> | Omit, HTMLDivElement>, "ref"> & React.RefAttributes, "ref">, "defaultValue" | "value" | "direction" | "onValueChange"> & { name?: string; required?: boolean; disabled?: boolean; defaultValue?: string[]; value?: string[]; direction?: "row" | "column"; onValueChange?: (value: string[]) => void; } & React.RefAttributes>; type CheckboxNode = { value: string; parentValue?: string; id: string; }; type CheckboxGroupContextValue = { name?: string; required: boolean; disabled: boolean; value: string[]; direction: 'row' | 'column'; toggleItem: (itemValue: string) => void; toggleParent: (parentValue: string) => void; isSelected: (value: string) => boolean; isIndeterminate: (value: string) => boolean; registerChild: (item: CheckboxNode) => void; labelId: string | undefined; setLabelId: (id: string) => void; getChildren: (parentValue: string) => CheckboxNode[]; }; export declare const CheckboxGroupContext: React.Context; export {};