import { SetStateAction } from 'react'; export declare function useStateObject(initialState: T): { state: T; actions: InternalActions & { set: (state: SetStateAction | Partial) => void; }; }; type InternalActions = { [Property in keyof T as `set${Capitalize}`]: (value: T[Property]) => void; }; export {};