import { SelectedItem } from './InputCheckboxGroup'; import { InputCheckboxGroupOption } from './InputCheckboxGroupItem'; export type InternalState = Array<{ value: string; quantity?: number; isSelected: boolean; }>; type Action = { type: "updateQuantity"; payload: { value: string; quantity: number; }; } | { type: "toggleSelection"; payload: { value: string; }; }; export declare const reducer: (state: InternalState, action: Action) => InternalState; export declare function makeInitialState({ options, defaultValues, }: { options: InputCheckboxGroupOption[]; defaultValues: SelectedItem[]; }): InternalState; export {};