import { FC, FieldsetHTMLAttributes, PropsWithChildren, Ref } from "react"; //#region src/components/form/checkbox-group/checkbox-group.d.ts type CheckboxGroupContextValue = { currentValue: string[]; disabled: boolean; name: string; toggleValue: (value: string) => void; }; declare const useCheckboxGroupContext: () => CheckboxGroupContextValue | undefined; type RootBaseProps = PropsWithChildren<{ 'aria-labelledby': string; invalid?: boolean; name: string; ref?: Ref; } & Omit, 'className' | 'style' | 'onChange' | 'defaultValue' | 'name' | 'aria-labelledby' | 'role'>>; type RootControlledProps = { value: string[]; onChange: (value: string[]) => void; defaultValue?: never; }; type RootUncontrolledProps = { defaultValue?: string[]; value?: never; onChange?: (value: string[]) => void; }; type RootProps = RootBaseProps & (RootControlledProps | RootUncontrolledProps); declare const Root: FC; //#endregion export { Root as CheckboxGroupRoot, useCheckboxGroupContext };