import { ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from 'react'; export type NamedArrayTuple any> = Parameters; export type ForwardRefComponent = ForwardRefExoticComponent & RefAttributes>; export type NonFunctionKeys = { [K in keyof T]-?: T[K] extends Function ? never : K; }[keyof T]; export type Overwrite = Omit> & O;