import React from 'react'; export type { ViewStyle, } from './StyleSheetType'; declare global { interface Window { MediaRecorder: any; } interface MediaDevices extends EventTarget { ondevicechange: ((this: MediaDevices, ev: Event) => any) | null; enumerateDevices(): Promise; getSupportedConstraints(): MediaTrackSupportedConstraints; getUserMedia(constraints?: MediaStreamConstraints): Promise; addEventListener(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; getDisplayMedia: (arg: { video: boolean | MediaTrackConstraints; audio: boolean | MediaTrackConstraints; }) => MediaStream; } } export declare type $Omit = Pick>; export declare type $RemoveChildren> = $Omit, 'children'>; export declare type Position = { x: number; y: number; }; export declare type Size = { width: number; height: number; }; export declare type Rectangle = { position: Position; size: Size; }; export declare type PropsWithRef = Omit & { ref?: React.Ref; }; export declare type GetRefType | React.FunctionComponent> = NonNullable['ref']> extends React.Ref ? R : never; declare type UnionToIntersection = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never; export declare type PickAndFlatten = UnionToIntersection; export declare type ComponentType

= React.ComponentClass

| React.FC

; export declare type EventMap = { onClick?: (e: Event) => void; }; export declare type Style = { [key: string]: string | number; }; export declare type ReactMouseEvent = React.MouseEvent; export declare type ReactHTMLElementProps = React.DetailedHTMLProps, T>;