@react-three/fiber 10.0.0-canary.dc0ec15 → 10.0.0-canary.de17310

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/legacy.d.cts CHANGED
@@ -2,8 +2,7 @@ import * as THREE$1 from 'three';
2
2
  import { WebGLCubeRenderTarget, WebGLRenderTarget, Color as Color$1, ColorRepresentation, Euler as Euler$1, Loader, RenderTargetOptions as RenderTargetOptions$1, Layers as Layers$1, Raycaster, Intersection as Intersection$1, BufferGeometry, Matrix4 as Matrix4$1, Quaternion as Quaternion$1, Object3D, Vector2 as Vector2$1, Vector3 as Vector3$1, Vector4 as Vector4$1, Matrix3 as Matrix3$1, ColorSpace, Texture as Texture$1, CubeTexture, Scene, Frustum, OrthographicCamera } from 'three';
3
3
  import * as React$1 from 'react';
4
4
  import { ReactNode, Component, RefObject, JSX } from 'react';
5
- import * as three_webgpu from 'three/webgpu';
6
- import { WebGPURenderer as WebGPURenderer$1, Node, StorageTexture, Storage3DTexture, StorageArrayTexture, Data3DTexture, CanvasTarget } from 'three/webgpu';
5
+ import { WebGPURenderer as WebGPURenderer$1, CanvasTarget } from 'three/webgpu';
7
6
  import { StoreApi } from 'zustand';
8
7
  import { UseBoundStoreWithEqualityFn } from 'zustand/traditional';
9
8
  import { FrameTimingState, FrameCallback as FrameCallback$1, SchedulerApi, UseFrameNextOptions, FrameNextControls } from '@pmndrs/scheduler';
@@ -324,90 +323,6 @@ type FrameNextCallback = FrameCallback$1<RootState>
324
323
  /** Alias for FrameNextCallback */
325
324
  type FrameCallback = FrameNextCallback
326
325
 
327
- //* Buffer Types (useBuffers) ========================================
328
-
329
- /**
330
- * Buffer-like types for GPU compute and storage operations.
331
- * Includes raw CPU arrays, Three.js buffer attributes, and TSL buffer nodes.
332
- *
333
- * @example
334
- * ```tsx
335
- * const { positions, velocities } = useBuffers(() => ({
336
- * positions: instancedArray(count, 'vec3'), // StorageBufferNode
337
- * velocities: new Float32Array(count * 3), // TypedArray
338
- * }), 'particles')
339
- * ```
340
- */
341
- type BufferLike =
342
- | Float32Array
343
- | Uint32Array
344
- | Int32Array
345
- | Float64Array
346
- | Uint8Array
347
- | Int8Array
348
- | Uint16Array
349
- | Int16Array
350
- | THREE$1.BufferAttribute // Base class for all buffer attributes
351
- | THREE$1.InterleavedBufferAttribute
352
- | Node // TSL buffer nodes (instancedArray, storage)
353
-
354
- /** Flat record of buffer-like values (no nested scopes) */
355
- type BufferRecord = Record<string, BufferLike>
356
-
357
- /**
358
- * Buffer store that can contain both root-level buffers and scoped buffer objects.
359
- * Structure: { positions: Float32Array, particles: { vel: StorageBufferNode } }
360
- */
361
- type BufferStore = Record<string, BufferLike | BufferRecord>
362
-
363
- //* Node Types (useNodes) ========================================
364
-
365
- /**
366
- * Every node representation `useNodes` accepts and `state.nodes` holds: three's real `Node`,
367
- * the callable proxy `Fn()` returns, and the legacy structural shape (`uuid`/`nodeType`) older
368
- * code passes through. Creators are constrained to this same type, so the shape a creator returns
369
- * and the shape the store holds are one type by construction.
370
- */
371
- type NodeLike = TSLNodeType | LegacyTSLNodeLike
372
-
373
- /** Flat record of TSL nodes (no nested scopes) */
374
- type NodeRecord<T extends NodeLike = NodeLike> = Record<string, T>
375
-
376
- /**
377
- * Node store that can contain both root-level nodes and scoped node objects.
378
- * Structure: { wobble: OperatorNode, fx: { blur: ShaderCallable } }
379
- */
380
- type NodeStore = Record<string, NodeLike | NodeRecord>
381
-
382
- //* Storage Types (useGPUStorage) ========================================
383
-
384
- /**
385
- * GPU storage types for texture-based storage operations.
386
- * Includes Three.js storage textures and TSL storage texture nodes.
387
- *
388
- * @example
389
- * ```tsx
390
- * const { heightMap } = useGPUStorage(() => ({
391
- * heightMap: new StorageTexture(512, 512),
392
- * }), 'terrain')
393
- * ```
394
- */
395
- type StorageLike =
396
- | StorageTexture // 2D GPU storage texture
397
- | Storage3DTexture // 3D GPU storage texture (volumes, fluid grids)
398
- | StorageArrayTexture // 2D-array GPU storage texture
399
- | Data3DTexture // 3D texture (can be used as storage)
400
- | Node // TSL storage texture nodes (storageTexture)
401
-
402
- /** Flat record of storage-like values (no nested scopes) */
403
- type StorageRecord = Record<string, StorageLike>
404
-
405
- /**
406
- * Storage store that can contain both root-level storage and scoped storage objects.
407
- * Structure: { heightMap: StorageTexture, terrain: { normal: StorageTextureNode } }
408
- */
409
- type StorageStore = Record<string, StorageLike | StorageRecord>
410
-
411
326
  //* Renderer Types ========================================
412
327
 
413
328
  /** Default renderer type - union of WebGL and WebGPU renderers */
@@ -580,12 +495,13 @@ interface RootState {
580
495
  /** Get current state */
581
496
  get: StoreApi<RootState>['getState']
582
497
  /**
583
- * Reference to the authoritative store for shared TSL resources (uniforms, nodes, etc).
498
+ * The store of the canvas that owns this root's renderer.
584
499
  * - For primary/independent canvases: points to its own store (self-reference)
585
500
  * - For secondary canvases: points to the primary canvas's store
501
+ * - Portals copy it from their parent
586
502
  *
587
- * Hooks like useNodes/useUniforms should read from primaryStore to ensure
588
- * consistent shared state across all canvases sharing a renderer.
503
+ * Anything shared per renderer rather than per canvas (e.g. @react-three/tsl's resources)
504
+ * resolves through it.
589
505
  */
590
506
  primaryStore: RootStore
591
507
  /** @deprecated Use `renderer` instead. The instance of the renderer (typed as WebGLRenderer for backwards compat) */
@@ -648,24 +564,10 @@ interface RootState {
648
564
  setError: (error: Error | null) => void
649
565
  /** Current error state (null when no error) */
650
566
  error: Error | null
651
- /** Global TSL uniform nodes - root-level uniforms + scoped sub-objects. Use useUniforms() hook */
652
- uniforms: UniformStore
653
- /** Global TSL nodes - root-level nodes + scoped sub-objects. Use useNodes() hook */
654
- nodes: NodeStore
655
- /** Global TSL buffer nodes - root-level buffers + scoped sub-objects. Use useBuffers() hook */
656
- buffers: BufferStore
657
- /** Global GPU storage (textures, etc.) - root-level storage + scoped sub-objects. Use useGPUStorage() hook */
658
- gpuStorage: StorageStore
659
567
  /** Global Texture registry (key → Texture, usually keyed by URL) - use useTextures() hook for access + lifecycle */
660
568
  textures: Map<string, THREE$1.Texture>
661
569
  /** Internal: refcount per texture key, driven by mounted useTexture consumers (registry enrollment is on by default) */
662
570
  _textureRefs: Map<string, number>
663
- /** WebGPU RenderPipeline instance - use useRenderPipeline() hook */
664
- renderPipeline: ThreeRenderPipeline | null
665
- /** Global TSL pass nodes for render pipeline - use useRenderPipeline() hook */
666
- passes: PassRecord
667
- /** Internal version counter for HMR - incremented by rebuildNodes/rebuildUniforms to bust memoization */
668
- _hmrVersion: number
669
571
  /** Internal: whether setSize() has taken ownership of canvas dimensions */
670
572
  _sizeImperative: boolean
671
573
  /** Internal: stored size props from Canvas for reset functionality */
@@ -1196,243 +1098,6 @@ interface LegacyRootState extends Omit<RootState, 'renderer' | 'internal'> {
1196
1098
 
1197
1099
  type RenderTargetOptions = RenderTargetOptions$1
1198
1100
 
1199
- //* Global TSL Types ==============================
1200
-
1201
- declare global {
1202
- /**
1203
- * Broad callable-node fallback for dynamic store readers.
1204
- * Creator hooks preserve the exact function signatures inferred from Three's `Fn`.
1205
- */
1206
- type CallableTSLNode = ((...params: never[]) => unknown) & {
1207
- readonly shaderNode: unknown
1208
- readonly id: number
1209
- }
1210
-
1211
- /** Legacy structural node accepted when at least one historical marker exists. */
1212
- type LegacyTSLNodeLike = {
1213
- label?: ((label: string) => unknown) | string
1214
- setName?: (name: string) => unknown
1215
- } & ({ uuid: string | undefined; nodeType?: string | null } | { uuid?: string; nodeType: string | null | undefined })
1216
-
1217
- /** Node type accepted by broad dynamic node-store readers. */
1218
- type TSLNodeType = three_webgpu.Node | CallableTSLNode
1219
-
1220
- /**
1221
- * Derive Three's shader node type from an existing node or a supported raw input.
1222
- * Existing InputNode generics take precedence over structural value normalization.
1223
- * Both generics must be inferred because Three's UniformNode intersects an unknown-typed
1224
- * InputNode base with its concrete InputNode specialization.
1225
- */
1226
- type UniformNodeType<T> = T extends three_webgpu.UniformNode<infer TNodeType, infer _TValue>
1227
- ? TNodeType
1228
- : T extends three_webgpu.InputNode<infer TNodeType, infer _TValue>
1229
- ? TNodeType
1230
- : T extends number
1231
- ? 'float'
1232
- : T extends boolean
1233
- ? 'bool'
1234
- : T extends string | three_webgpu.Color | { r: number; g: number; b: number }
1235
- ? 'color'
1236
- : T extends three_webgpu.Vector4 | { x: number; y: number; z: number; w: number }
1237
- ? 'vec4'
1238
- : T extends three_webgpu.Vector3 | { x: number; y: number; z: number }
1239
- ? 'vec3'
1240
- : T extends three_webgpu.Vector2 | { x: number; y: number }
1241
- ? 'vec2'
1242
- : T extends three_webgpu.Matrix4
1243
- ? 'mat4'
1244
- : T extends three_webgpu.Matrix3
1245
- ? 'mat3'
1246
- : T extends three_webgpu.Matrix2
1247
- ? 'mat2'
1248
- : unknown
1249
-
1250
- /** Derive the normalized JavaScript value stored by a uniform node. */
1251
- type UniformNodeValue<T> = T extends three_webgpu.UniformNode<infer _TNodeType, infer TValue>
1252
- ? TValue
1253
- : T extends three_webgpu.InputNode<infer _TNodeType, infer TValue>
1254
- ? TValue
1255
- : T extends string | { r: number; g: number; b: number }
1256
- ? three_webgpu.Color
1257
- : T extends { x: number; y: number; z: number; w: number }
1258
- ? three_webgpu.Vector4
1259
- : T extends { x: number; y: number; z: number }
1260
- ? three_webgpu.Vector3
1261
- : T extends { x: number; y: number }
1262
- ? three_webgpu.Vector2
1263
- : T extends number
1264
- ? number
1265
- : T extends boolean
1266
- ? boolean
1267
- : T
1268
-
1269
- /** Three's exact UniformNode with shader and value generics derived from an input. */
1270
- type UniformNodeFor<T> = three_webgpu.UniformNode<UniformNodeType<T>, UniformNodeValue<T>>
1271
-
1272
- /** Preserve every input key while mapping values to exact Three uniform nodes. */
1273
- type UniformNodesFor<T extends UniformInputRecord> = {
1274
- [K in keyof T]: UniformNodeFor<T[K]>
1275
- }
1276
-
1277
- /** Backward-compatible single-parameter uniform alias. */
1278
- type UniformNode<T = unknown> = UniformNodeFor<T>
1279
-
1280
- /** Flat record of uniform nodes (no nested scopes) */
1281
- type UniformRecord<T extends UniformNode = UniformNode> = Record<string, T>
1282
-
1283
- /**
1284
- * Uniform store that can contain both root-level uniforms and scoped uniform objects
1285
- * Used by state.uniforms which has structure like:
1286
- * { uTime: UniformNode, player: { uHealth: UniformNode }, enemy: { uHealth: UniformNode } }
1287
- */
1288
- type UniformStore = Record<string, UniformNode | UniformRecord>
1289
-
1290
- /**
1291
- * Helper to safely access a uniform node from the store.
1292
- * Use this when accessing state.uniforms to get proper typing.
1293
- * @example
1294
- * const uTime = uniforms.uTime as UniformNode<number>
1295
- * const uColor = uniforms.uColor as UniformNode<import('three/webgpu').Color>
1296
- */
1297
- type GetUniform<T = unknown> = UniformNode<T>
1298
-
1299
- /**
1300
- * Acceptable input values for useUniforms - raw values that get converted to UniformNodes
1301
- * Supports:
1302
- * - Primitives: number, string (color), boolean
1303
- * - Three.js types: Color, Vector2/3/4, Matrix2/3/4
1304
- * - Plain objects: { x, y, z, w } converted to vectors
1305
- * - TSL nodes: color(), vec3(), float() for type casting
1306
- * - UniformNode: existing uniforms (reused as-is)
1307
- */
1308
- type UniformValue =
1309
- | number
1310
- | string
1311
- | boolean
1312
- | three_webgpu.Color
1313
- | three_webgpu.Vector2
1314
- | three_webgpu.Vector3
1315
- | three_webgpu.Vector4
1316
- | three_webgpu.Matrix2
1317
- | three_webgpu.Matrix3
1318
- | three_webgpu.Matrix4
1319
- | { x: number; y: number }
1320
- | { x: number; y: number; z: number }
1321
- | { x: number; y: number; z: number; w: number }
1322
- | { r: number; g: number; b: number; a?: number } // Plain objects converted to Color
1323
- | three_webgpu.Node // TSL nodes like color(), vec3(), float() for type casting
1324
- | UniformNode
1325
-
1326
- /** Input record for useUniforms - accepts raw values or UniformNodes */
1327
- type UniformInputRecord = Record<string, UniformValue>
1328
- }
1329
-
1330
- declare global {
1331
- /**
1332
- * three's own render pipeline type. Named here so the rest of R3F refers to three's shape
1333
- * rather than `any`. three r183 renamed `PostProcessing` to `RenderPipeline`; our peer floor
1334
- * is r185, so the new name is the only one.
1335
- */
1336
- type ThreeRenderPipeline = three_webgpu.RenderPipeline
1337
-
1338
- /**
1339
- * The pass `useRenderPipeline` creates for you: three's own `PassNode`, as returned by
1340
- * `pass(scene, camera)` from `three/tsl`. Referenced from three so members like
1341
- * `getTextureNode`, `setMRT` and `dispose` track the installed version.
1342
- */
1343
- type ScenePassNode = three_webgpu.PassNode
1344
-
1345
- /**
1346
- * Pass record - stores TSL pass nodes for render pipeline.
1347
- *
1348
- * `scenePass` is the only key the library owns. It is optional here because this is also the
1349
- * shape of `state.passes`, which is `{}` before the pipeline exists and again after `reset()`
1350
- * or `clearPasses()`. Inside the callbacks it is always present; see
1351
- * {@link RenderPipelineCallbackState}.
1352
- *
1353
- * Every other key is user-registered, via a callback's return value. Those are TSL nodes of
1354
- * any kind, not only passes: texture reads of an MRT attachment, effect nodes, extra
1355
- * `pass()` instances. `Node` is the common base, so that is the bound. Narrow at the call
1356
- * site when you need a member, e.g. `passes.velocity as TextureNode`.
1357
- *
1358
- * The index signature admits `undefined` because a key may simply not be registered, and
1359
- * because the optional `scenePass` must be assignable to it: under `skipLibCheck: false` an
1360
- * optional property whose type excludes `undefined` from the index signature is an error
1361
- * (TS2411) for every consumer compiling these declarations.
1362
- */
1363
- interface PassRecord {
1364
- scenePass?: ScenePassNode
1365
- [key: string]: three_webgpu.Node | undefined
1366
- }
1367
-
1368
- /**
1369
- * State passed to pipeline callbacks after the active pipeline has been created.
1370
- *
1371
- * `passes.scenePass` is required here: the hook installs the default scene pass before either
1372
- * callback runs, so callbacks can use it without a guard or a cast.
1373
- *
1374
- * `renderer` is narrowed to `WebGPURenderer` and `isLegacy` to `false`: the hook throws under
1375
- * the legacy renderer before either callback can run, so a callback never sees WebGL.
1376
- */
1377
- type RenderPipelineCallbackState = RootState & {
1378
- renderPipeline: ThreeRenderPipeline
1379
- passes: PassRecord & { scenePass: ScenePassNode }
1380
- renderer: three_webgpu.WebGPURenderer
1381
- isLegacy: false
1382
- }
1383
-
1384
- /**
1385
- * What a callback may return to register entries into `state.passes`.
1386
- *
1387
- * `scenePass` is reserved. The hook owns that entry and its lifecycle: it caches the pass it
1388
- * created, and `rebuild()` / `reset()` dispose that cached pass. A callback overwriting the
1389
- * store entry would leave the store pointing at a node the hook never disposes, and the hook
1390
- * disposing a pass nothing references. So returning it is a type error.
1391
- */
1392
- type RegisteredPasses = Record<string, three_webgpu.Node> & { scenePass?: never }
1393
-
1394
- /** Setup callback - runs first to configure MRT, create additional passes */
1395
- type RenderPipelineSetupCallback = (state: RenderPipelineCallbackState) => RegisteredPasses | void
1396
-
1397
- /** Main callback - runs second to configure outputNode, create effect passes */
1398
- type RenderPipelineMainCallback = (state: RenderPipelineCallbackState) => RegisteredPasses | void
1399
-
1400
- /** The imperative half of useRenderPipeline's return value, present in every state */
1401
- interface UseRenderPipelineActions {
1402
- /** Current passes from state */
1403
- passes: PassRecord
1404
- /** Clear all passes from state */
1405
- clearPasses: () => void
1406
- /** Reset RenderPipeline entirely (clears PP + passes) */
1407
- reset: () => void
1408
- /** Re-run setup/main callbacks with current closure values */
1409
- rebuild: () => void
1410
- }
1411
-
1412
- /**
1413
- * Return type for useRenderPipeline hook, discriminated on `isReady`.
1414
- *
1415
- * `if (isReady)` narrows `renderPipeline` to non-null, which is what the docs already tell
1416
- * callers to check. `passes.scenePass` deliberately stays optional in the ready branch:
1417
- * `clearPasses()` empties the record while leaving the pipeline in place.
1418
- */
1419
- type UseRenderPipelineReturn = UseRenderPipelineActions &
1420
- (
1421
- | {
1422
- /** True when RenderPipeline is configured and ready */
1423
- isReady: true
1424
- /** RenderPipeline instance */
1425
- renderPipeline: ThreeRenderPipeline
1426
- }
1427
- | {
1428
- /** False until the pipeline has been created */
1429
- isReady: false
1430
- /** Not initialized yet, or torn down by reset() */
1431
- renderPipeline: null
1432
- }
1433
- )
1434
- }
1435
-
1436
1101
  type MutableOrReadonlyParameters<T extends (...args: any) => any> = Parameters<T> | Readonly<Parameters<T>>
1437
1102
 
1438
1103
  interface MathRepresentation {
@@ -3896,4 +3561,4 @@ type LegacyCanvasProps = Omit<CanvasProps, 'onCreated'> & {
3896
3561
  declare const Canvas: (props: LegacyCanvasProps) => JSX.Element;
3897
3562
 
3898
3563
  export { Block, Canvas, Environment, EnvironmentCube, EnvironmentMap, EnvironmentPortal, ErrorBoundary, FROM_REF, IsObject, ONCE, Portal, R3F_BUILD_LEGACY, R3F_BUILD_WEBGPU, REACT_INTERNAL_PROPS, RESERVED_PROPS, three_d as ReactThreeFiber, Texture, _roots, addAfterEffect, addEffect, addTail, advance, applyProps, attach, buildGraph, calculateDpr, context, createEvents, createPointerEvents, createPortal, createRoot, createStore, detach, diffProps, dispose, createPointerEvents as events, extend, findInitialRoot, flushSync, fromRef, getInstanceProps, getPrimary, getPrimaryIds, getRootState, getUuidPrefix, hasConstructor, hasPrimary, invalidate, invalidateInstance, is, isColorRepresentation, isCopyable, isFromRef, isObject3D, isOnce, isOrthographicCamera, isRef, isRenderer, isTexture, isVectorLike, once, prepare, presetsObj, reconciler, registerPrimary, registerRootExtension, removeInteractivity, resolve, setRenderOverride, swapInteractivity, unmountComponentAtNode, unregisterPrimary, updateCamera, updateFrustum, useBridge, useEnvironment, useFrame, useGraph, useInstanceHandle, useIsomorphicLayoutEffect, useLoader, useMutableCallback, useRenderTarget, useStore, useTexture, useTextures, useThree, waitForPrimary };
3899
- export type { Act, Args, ArgsProp, AttachFnType, AttachType, BackgroundConfig, BackgroundProp, BaseRendererProps, Bridge, BufferLike, BufferRecord, BufferStore, Camera, CameraProps, LegacyCanvasProps as CanvasProps, CanvasSchedulerConfig, Catalogue, Color, ColorManagementConfig, ComputeFunction, ConstructorRepresentation, DefaultGLProps, DefaultRendererProps, Disposable, DisposeOptions, DomEvent, Dpr, ElementProps, EnvironmentLoaderProps, EnvironmentProps, EquConfig, Euler, EventHandlers, EventManager, EventProps, Events, Extensions, FiberRoot, FilterFunction, FrameCallback, FrameNextCallback, FrameNextState, FrameState, Frameloop, FromRefMarker, GLProps, GLTFLike, GeometryProps, GeometryTransformProps, GlobalEffectType, GlobalRenderCallback, HostConfig, InferLoadResult, InjectState, InputLike, Instance, InstanceProps, LegacyInternalState as InternalState, Intersection, IntersectionEvent, IsAllOptional, IsOptional, Layers, LegacyCanvasProps, LegacyInternalState, LegacyRenderer, LegacyRootState, LoaderInstance, LoaderLike, LoaderResult, MappedTextureType, MathProps, MathRepresentation, MathType, MathTypes, Matrix3, Matrix4, Mutable, MutableOrReadonlyParameters, NodeLike, NodeProps, NodeRecord, NodeStore, NonFunctionKeys, Object3DMethod, ObjectMap, OffscreenCanvas$1 as OffscreenCanvas, OnceValue, Overwrite, Performance, PointerCaptureTarget, PointerState, PresetsType, PrimaryCanvasEntry, Properties, Quaternion, LegacyRenderer as R3FRenderer, RaycastableRepresentation, ReactProps, ReconcilerRoot, RenderCallback, RenderProps, RenderTargetOptions, Renderer, RendererConfigExtended, RendererFactory, RendererProps, Root, RootExtension, LegacyRootState as RootState, RootStore, SetBlock, Size, StorageLike, StorageRecord, StorageStore, Subscription, TSLNodeInput, TextureInput, TextureResult, ThreeCamera, ThreeElement, ThreeElements, ThreeElementsImpl, ThreeEvent, ThreeExports, ThreeToJSXElements, UnblockProps, UseFrameLegacy, UseTextureOptions, UseTexturesReturn, UseThreeLegacy, Vector2, Vector3, Vector4, VectorRepresentation, Viewport, VisibilityEntry, WebGLDefaultProps, WebGLProps, WebGLShadowConfig, XRManager, XRPointerConfig };
3564
+ export type { Act, Args, ArgsProp, AttachFnType, AttachType, BackgroundConfig, BackgroundProp, BaseRendererProps, Bridge, Camera, CameraProps, LegacyCanvasProps as CanvasProps, CanvasSchedulerConfig, Catalogue, Color, ColorManagementConfig, ComputeFunction, ConstructorRepresentation, DefaultGLProps, DefaultRendererProps, Disposable, DisposeOptions, DomEvent, Dpr, ElementProps, EnvironmentLoaderProps, EnvironmentProps, EquConfig, Euler, EventHandlers, EventManager, EventProps, Events, Extensions, FiberRoot, FilterFunction, FrameCallback, FrameNextCallback, FrameNextState, FrameState, Frameloop, FromRefMarker, GLProps, GLTFLike, GeometryProps, GeometryTransformProps, GlobalEffectType, GlobalRenderCallback, HostConfig, InferLoadResult, InjectState, InputLike, Instance, InstanceProps, LegacyInternalState as InternalState, Intersection, IntersectionEvent, IsAllOptional, IsOptional, Layers, LegacyCanvasProps, LegacyInternalState, LegacyRenderer, LegacyRootState, LoaderInstance, LoaderLike, LoaderResult, MappedTextureType, MathProps, MathRepresentation, MathType, MathTypes, Matrix3, Matrix4, Mutable, MutableOrReadonlyParameters, NodeProps, NonFunctionKeys, Object3DMethod, ObjectMap, OffscreenCanvas$1 as OffscreenCanvas, OnceValue, Overwrite, Performance, PointerCaptureTarget, PointerState, PresetsType, PrimaryCanvasEntry, Properties, Quaternion, LegacyRenderer as R3FRenderer, RaycastableRepresentation, ReactProps, ReconcilerRoot, RenderCallback, RenderProps, RenderTargetOptions, Renderer, RendererConfigExtended, RendererFactory, RendererProps, Root, RootExtension, LegacyRootState as RootState, RootStore, SetBlock, Size, Subscription, TSLNodeInput, TextureInput, TextureResult, ThreeCamera, ThreeElement, ThreeElements, ThreeElementsImpl, ThreeEvent, ThreeExports, ThreeToJSXElements, UnblockProps, UseFrameLegacy, UseTextureOptions, UseTexturesReturn, UseThreeLegacy, Vector2, Vector3, Vector4, VectorRepresentation, Viewport, VisibilityEntry, WebGLDefaultProps, WebGLProps, WebGLShadowConfig, XRManager, XRPointerConfig };