export declare type Action = S | ((prevState: S) => S) | ((prevState: S) => void); export declare type SetStateAction = S | ((prevState: S) => S); export declare type Dispatch = (value: A) => void; export interface Key { } export declare type keyType = keyof Key;