export declare type UseCheckboxesObjectizedAction = { type: 'on-check'; name: string; } | { type: 'on-text-change'; values: { [name: string]: string; }; }; export interface UseCheckboxesObjectizedState { values: { [name: string]: string; }; current?: string; } export interface UseCheckboxesObjectized { options: string[]; value: { [name: string]: string; }; onChange: (value: { [name: string]: string; }) => void; } declare const useCheckboxesObjectized: ({ options, value, onChange, }: UseCheckboxesObjectized) => { onCheckboxChange: (name: string) => void; onTextChange: (name: string) => (e: any) => void; values: { [name: string]: string; }; current?: string | undefined; }; export default useCheckboxesObjectized;