import * as React from 'react'; import type { BaseUIChangeEventDetails } from "../utils/createBaseUIEventDetails.js"; import type { BaseUIEventReasons } from "../utils/reasons.js"; export declare function useCheckboxGroupParent(params: useCheckboxGroupParent.Parameters): useCheckboxGroupParent.ReturnValue; export interface UseCheckboxGroupParentParameters { allValues?: string[]; value?: string[]; onValueChange?: (value: string[], eventDetails: BaseUIChangeEventDetails) => void; } export interface UseCheckboxGroupParentReturnValue { id: string | undefined; indeterminate: boolean; disabledStatesRef: React.RefObject>; getParentProps: () => { id: string | undefined; indeterminate: boolean; checked: boolean; 'aria-controls': string; onCheckedChange: (checked: boolean, eventDetails: BaseUIChangeEventDetails) => void; }; getChildProps: (value: string) => { checked: boolean; onCheckedChange: (checked: boolean, eventDetails: BaseUIChangeEventDetails) => void; }; } export declare namespace useCheckboxGroupParent { type Parameters = UseCheckboxGroupParentParameters; type ReturnValue = UseCheckboxGroupParentReturnValue; }