import * as React from 'react'; import type { ZestChangeEventDetails } from '../utils/createChangeEventDetails'; import type { ZestEventReasons } from '../utils/reasons'; /** * Derives the parent checkbox's checked/indeterminate state from its children and * implements the three-way parent toggle. * * Upstream's `id`/`aria-controls` wiring is omitted: it exists to point the parent * `` at the child input ids, which have no React Native equivalent. */ export declare function useCheckboxGroupParent(params: UseCheckboxGroupParentParameters): UseCheckboxGroupParentReturnValue; export interface UseCheckboxGroupParentParameters { allValues?: string[] | undefined; value?: string[] | undefined; onValueChange?: ((value: string[], eventDetails: ZestChangeEventDetails) => void) | undefined; } export interface UseCheckboxGroupParentReturnValue { disabledStatesRef: React.RefObject>; getParentProps: () => { indeterminate: boolean; checked: boolean; onCheckedChange: (checked: boolean, eventDetails: ZestChangeEventDetails) => void; }; getChildProps: (value: string) => { checked: boolean; onCheckedChange: (checked: boolean, eventDetails: ZestChangeEventDetails) => void; }; } //# sourceMappingURL=useCheckboxGroupParent.d.ts.map