import * as React from 'react'; import { Checkbox as CheckboxPrimitive } from 'radix-ui'; import { Context, Primitive, RovingFocus } from 'radix-ui/internal'; declare const createCheckboxGroupScope: Context.CreateScope; type CheckboxGroupContextValue = { name?: string; required: boolean; disabled: boolean; value?: string[]; onItemCheck(value: string): void; onItemUncheck(value: string): void; }; type RovingFocusGroupProps = React.ComponentPropsWithoutRef; type PrimitiveDivProps = React.ComponentPropsWithoutRef; interface CheckboxGroupProps extends PrimitiveDivProps { name?: CheckboxGroupContextValue['name']; required?: React.ComponentPropsWithoutRef['required']; disabled?: React.ComponentPropsWithoutRef['disabled']; dir?: RovingFocusGroupProps['dir']; orientation?: RovingFocusGroupProps['orientation']; loop?: RovingFocusGroupProps['loop']; defaultValue?: string[]; value?: CheckboxGroupContextValue['value']; onValueChange?: (value: string[]) => void; } declare const CheckboxGroup: React.ForwardRefExoticComponent>; type CheckboxProps = React.ComponentPropsWithoutRef; interface CheckboxGroupItemProps extends Omit { value: string; } declare const CheckboxGroupItem: React.ForwardRefExoticComponent>; type CheckboxIndicatorProps = React.ComponentPropsWithoutRef; interface CheckboxGroupIndicatorProps extends CheckboxIndicatorProps { } declare const CheckboxGroupIndicator: React.ForwardRefExoticComponent>; declare const Root: React.ForwardRefExoticComponent>; declare const Item: React.ForwardRefExoticComponent>; declare const Indicator: React.ForwardRefExoticComponent>; export { createCheckboxGroupScope, CheckboxGroup, CheckboxGroupItem, CheckboxGroupIndicator, Root, Item, Indicator, }; export type { CheckboxGroupProps, CheckboxGroupItemProps, CheckboxGroupIndicatorProps }; //# sourceMappingURL=checkbox-group.primitive.d.ts.map