/** `RefObject` type from React 19. */ export type RefObject = { current: T; }; /** * Location of an element. */ export interface Point { y: number; x: number; } /** * Size of an element. */ export interface Size { height: number; width: number; } /** * Range of text in a text input. */ export interface TextRange { start: number; end: number; } export type StringWithAutocomplete = T | (string & {});