import type { GroupToggleState } from '@coinbase/cds-common/hooks/useGroupToggler'; export type CheckboxGroupStateProps = { select: React.ChangeEventHandler; unselect: React.ChangeEventHandler; toggle: React.ChangeEventHandler; isAllSelected: GroupToggleState['isAllSelected']; }; /** * * @param values - An array of all possible options. Make sure the array doesn't change if it's the same values so that the handlers will also stay the same. * @param initialState - Initial checked option values. * @deprecated Do not use this. This will be removed in a future major release. * @deprecationExpectedRemoval v9 * @returns [ * state, { select, unselect, toggle, isAllSelected, } ] */ export declare const useCheckboxGroupState: ( values: CheckboxValue[], initialState?: CheckboxValue[], ) => [Set, CheckboxGroupStateProps]; //# sourceMappingURL=useCheckboxGroupState.d.ts.map