import React from "react"; import * as Cesium from "cesium"; import { MappingExported, MappingTypeofExport } from "./generated-mapping"; export declare namespace ReactCesiumFiber { type IfEquals = (() => T extends X ? 1 : 2) extends () => T extends Y ? 1 : 2 ? A : B; type WritableKeys = { [P in keyof T]-?: IfEquals<{ [Q in P]: T[P]; }, { -readonly [Q in P]: T[P]; }, P>; }[keyof T]; type Writable = Pick>; type NonFunctionKeys = { [K in keyof T]: T[K] extends Function ? never : K; }[keyof T]; type WithoutFunctionKeys = Pick>; type TransformProperty = { [P in keyof Object]: Object[P] extends Cesium.Property ? Replacement : Object[P]; }; type Overwrite = Omit> & O; type NodeProps = { args?: ConstructorOptions; constructFrom?: string; attach?: string | ((container: Container, child: Child) => (container: Container, child: Child) => void); onUpdate?: (...args: any[]) => void; children?: React.ReactNode; ref?: React.Ref; key?: React.Key; }; type ComponentWithProperties = NodeProps & Partial>>; type Component = TransformProperty>; type IntrinsicElements = { [T in keyof MappingExported]: ReactCesiumFiber.Component>; }; } declare global { namespace JSX { interface IntrinsicElements extends ReactCesiumFiber.IntrinsicElements { } } }