import { Dispatch, RefObject, SetStateAction } from 'react'; export declare type ObjectRef = RefObject | null | ((instance: T | null) => void); export declare type ObjectKey = string | number; export declare type ObjectState = [S, Dispatch>]; export declare type ObjectPartial

= { [K in keyof P]?: P[K]; };