@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/index.cjs CHANGED
@@ -13973,16 +13973,10 @@ const createStore = (invalidate, advance) => {
13973
13973
  },
13974
13974
  setError: (error) => set(() => ({ error })),
13975
13975
  error: null,
13976
- //* TSL State (managed via hooks: useUniforms, useNodes, useBuffers, useGPUStorage, useTextures, useRenderPipeline) ==============================
13977
- uniforms: {},
13978
- nodes: {},
13979
- buffers: {},
13980
- gpuStorage: {},
13976
+ //* Texture registry (useTextures) ==============================
13977
+ // TSL fields (uniforms, nodes, ..., renderPipeline) are added by @react-three/tsl's root extension.
13981
13978
  textures: /* @__PURE__ */ new Map(),
13982
13979
  _textureRefs: /* @__PURE__ */ new Map(),
13983
- renderPipeline: null,
13984
- passes: {},
13985
- _hmrVersion: 0,
13986
13980
  _sizeImperative: false,
13987
13981
  _sizeProps: null,
13988
13982
  previousRoot: void 0,
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as three_examples_jsm_inspector_Inspector_js from 'three/examples/jsm/inspector/Inspector.js';
2
- import * as three_webgpu from 'three/webgpu';
3
- import { CubeRenderTarget, RenderTarget, WebGPURenderer, Node, StorageTexture, Storage3DTexture, StorageArrayTexture, Data3DTexture, CanvasTarget, Euler as Euler$2, Color as Color$2, ColorRepresentation as ColorRepresentation$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, Loader as Loader$1, ColorSpace, Texture as Texture$1, CubeTexture, Scene, Frustum, OrthographicCamera } from 'three/webgpu';
2
+ import * as webgpu from 'three/webgpu';
3
+ import { CubeRenderTarget, RenderTarget, WebGPURenderer, CanvasTarget, Euler as Euler$2, Color as Color$2, ColorRepresentation as ColorRepresentation$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, Loader as Loader$1, ColorSpace, Texture as Texture$1, CubeTexture, Scene, Frustum, OrthographicCamera } from 'three/webgpu';
4
4
  import * as THREE$1 from 'three';
5
5
  import { WebGLCubeRenderTarget, WebGLRenderTarget, WebGLRenderer, Color as Color$1, ColorRepresentation, Euler as Euler$1, Loader, RenderTargetOptions as RenderTargetOptions$1 } from 'three';
6
6
  import { WebGLRendererParameters } from 'three/src/renderers/WebGLRenderer.js';
@@ -64,7 +64,7 @@ var THREE = /*#__PURE__*/_mergeNamespaces({
64
64
  WebGLRenderer: WebGLRenderer,
65
65
  WebGLRendererParameters: WebGLRendererParameters,
66
66
  loadInspector: loadInspector
67
- }, [three_webgpu]);
67
+ }, [webgpu]);
68
68
 
69
69
  //* Utility Types ==============================
70
70
 
@@ -328,90 +328,6 @@ type FrameNextCallback = FrameCallback$1<RootState>
328
328
  /** Alias for FrameNextCallback */
329
329
  type FrameCallback = FrameNextCallback
330
330
 
331
- //* Buffer Types (useBuffers) ========================================
332
-
333
- /**
334
- * Buffer-like types for GPU compute and storage operations.
335
- * Includes raw CPU arrays, Three.js buffer attributes, and TSL buffer nodes.
336
- *
337
- * @example
338
- * ```tsx
339
- * const { positions, velocities } = useBuffers(() => ({
340
- * positions: instancedArray(count, 'vec3'), // StorageBufferNode
341
- * velocities: new Float32Array(count * 3), // TypedArray
342
- * }), 'particles')
343
- * ```
344
- */
345
- type BufferLike =
346
- | Float32Array
347
- | Uint32Array
348
- | Int32Array
349
- | Float64Array
350
- | Uint8Array
351
- | Int8Array
352
- | Uint16Array
353
- | Int16Array
354
- | THREE$1.BufferAttribute // Base class for all buffer attributes
355
- | THREE$1.InterleavedBufferAttribute
356
- | Node // TSL buffer nodes (instancedArray, storage)
357
-
358
- /** Flat record of buffer-like values (no nested scopes) */
359
- type BufferRecord = Record<string, BufferLike>
360
-
361
- /**
362
- * Buffer store that can contain both root-level buffers and scoped buffer objects.
363
- * Structure: { positions: Float32Array, particles: { vel: StorageBufferNode } }
364
- */
365
- type BufferStore = Record<string, BufferLike | BufferRecord>
366
-
367
- //* Node Types (useNodes) ========================================
368
-
369
- /**
370
- * Every node representation `useNodes` accepts and `state.nodes` holds: three's real `Node`,
371
- * the callable proxy `Fn()` returns, and the legacy structural shape (`uuid`/`nodeType`) older
372
- * code passes through. Creators are constrained to this same type, so the shape a creator returns
373
- * and the shape the store holds are one type by construction.
374
- */
375
- type NodeLike = TSLNodeType | LegacyTSLNodeLike
376
-
377
- /** Flat record of TSL nodes (no nested scopes) */
378
- type NodeRecord<T extends NodeLike = NodeLike> = Record<string, T>
379
-
380
- /**
381
- * Node store that can contain both root-level nodes and scoped node objects.
382
- * Structure: { wobble: OperatorNode, fx: { blur: ShaderCallable } }
383
- */
384
- type NodeStore = Record<string, NodeLike | NodeRecord>
385
-
386
- //* Storage Types (useGPUStorage) ========================================
387
-
388
- /**
389
- * GPU storage types for texture-based storage operations.
390
- * Includes Three.js storage textures and TSL storage texture nodes.
391
- *
392
- * @example
393
- * ```tsx
394
- * const { heightMap } = useGPUStorage(() => ({
395
- * heightMap: new StorageTexture(512, 512),
396
- * }), 'terrain')
397
- * ```
398
- */
399
- type StorageLike =
400
- | StorageTexture // 2D GPU storage texture
401
- | Storage3DTexture // 3D GPU storage texture (volumes, fluid grids)
402
- | StorageArrayTexture // 2D-array GPU storage texture
403
- | Data3DTexture // 3D texture (can be used as storage)
404
- | Node // TSL storage texture nodes (storageTexture)
405
-
406
- /** Flat record of storage-like values (no nested scopes) */
407
- type StorageRecord = Record<string, StorageLike>
408
-
409
- /**
410
- * Storage store that can contain both root-level storage and scoped storage objects.
411
- * Structure: { heightMap: StorageTexture, terrain: { normal: StorageTextureNode } }
412
- */
413
- type StorageStore = Record<string, StorageLike | StorageRecord>
414
-
415
331
  //* Renderer Types ========================================
416
332
 
417
333
  /** Default renderer type - union of WebGL and WebGPU renderers */
@@ -584,12 +500,13 @@ interface RootState {
584
500
  /** Get current state */
585
501
  get: StoreApi<RootState>['getState']
586
502
  /**
587
- * Reference to the authoritative store for shared TSL resources (uniforms, nodes, etc).
503
+ * The store of the canvas that owns this root's renderer.
588
504
  * - For primary/independent canvases: points to its own store (self-reference)
589
505
  * - For secondary canvases: points to the primary canvas's store
506
+ * - Portals copy it from their parent
590
507
  *
591
- * Hooks like useNodes/useUniforms should read from primaryStore to ensure
592
- * consistent shared state across all canvases sharing a renderer.
508
+ * Anything shared per renderer rather than per canvas (e.g. @react-three/tsl's resources)
509
+ * resolves through it.
593
510
  */
594
511
  primaryStore: RootStore
595
512
  /** @deprecated Use `renderer` instead. The instance of the renderer (typed as WebGLRenderer for backwards compat) */
@@ -652,24 +569,10 @@ interface RootState {
652
569
  setError: (error: Error | null) => void
653
570
  /** Current error state (null when no error) */
654
571
  error: Error | null
655
- /** Global TSL uniform nodes - root-level uniforms + scoped sub-objects. Use useUniforms() hook */
656
- uniforms: UniformStore
657
- /** Global TSL nodes - root-level nodes + scoped sub-objects. Use useNodes() hook */
658
- nodes: NodeStore
659
- /** Global TSL buffer nodes - root-level buffers + scoped sub-objects. Use useBuffers() hook */
660
- buffers: BufferStore
661
- /** Global GPU storage (textures, etc.) - root-level storage + scoped sub-objects. Use useGPUStorage() hook */
662
- gpuStorage: StorageStore
663
572
  /** Global Texture registry (key → Texture, usually keyed by URL) - use useTextures() hook for access + lifecycle */
664
573
  textures: Map<string, THREE$1.Texture>
665
574
  /** Internal: refcount per texture key, driven by mounted useTexture consumers (registry enrollment is on by default) */
666
575
  _textureRefs: Map<string, number>
667
- /** WebGPU RenderPipeline instance - use useRenderPipeline() hook */
668
- renderPipeline: ThreeRenderPipeline | null
669
- /** Global TSL pass nodes for render pipeline - use useRenderPipeline() hook */
670
- passes: PassRecord
671
- /** Internal version counter for HMR - incremented by rebuildNodes/rebuildUniforms to bust memoization */
672
- _hmrVersion: number
673
576
  /** Internal: whether setSize() has taken ownership of canvas dimensions */
674
577
  _sizeImperative: boolean
675
578
  /** Internal: stored size props from Canvas for reset functionality */
@@ -1200,243 +1103,6 @@ interface LegacyRootState extends Omit<RootState, 'renderer' | 'internal'> {
1200
1103
 
1201
1104
  type RenderTargetOptions = RenderTargetOptions$1
1202
1105
 
1203
- //* Global TSL Types ==============================
1204
-
1205
- declare global {
1206
- /**
1207
- * Broad callable-node fallback for dynamic store readers.
1208
- * Creator hooks preserve the exact function signatures inferred from Three's `Fn`.
1209
- */
1210
- type CallableTSLNode = ((...params: never[]) => unknown) & {
1211
- readonly shaderNode: unknown
1212
- readonly id: number
1213
- }
1214
-
1215
- /** Legacy structural node accepted when at least one historical marker exists. */
1216
- type LegacyTSLNodeLike = {
1217
- label?: ((label: string) => unknown) | string
1218
- setName?: (name: string) => unknown
1219
- } & ({ uuid: string | undefined; nodeType?: string | null } | { uuid?: string; nodeType: string | null | undefined })
1220
-
1221
- /** Node type accepted by broad dynamic node-store readers. */
1222
- type TSLNodeType = three_webgpu.Node | CallableTSLNode
1223
-
1224
- /**
1225
- * Derive Three's shader node type from an existing node or a supported raw input.
1226
- * Existing InputNode generics take precedence over structural value normalization.
1227
- * Both generics must be inferred because Three's UniformNode intersects an unknown-typed
1228
- * InputNode base with its concrete InputNode specialization.
1229
- */
1230
- type UniformNodeType<T> = T extends three_webgpu.UniformNode<infer TNodeType, infer _TValue>
1231
- ? TNodeType
1232
- : T extends three_webgpu.InputNode<infer TNodeType, infer _TValue>
1233
- ? TNodeType
1234
- : T extends number
1235
- ? 'float'
1236
- : T extends boolean
1237
- ? 'bool'
1238
- : T extends string | three_webgpu.Color | { r: number; g: number; b: number }
1239
- ? 'color'
1240
- : T extends three_webgpu.Vector4 | { x: number; y: number; z: number; w: number }
1241
- ? 'vec4'
1242
- : T extends three_webgpu.Vector3 | { x: number; y: number; z: number }
1243
- ? 'vec3'
1244
- : T extends three_webgpu.Vector2 | { x: number; y: number }
1245
- ? 'vec2'
1246
- : T extends three_webgpu.Matrix4
1247
- ? 'mat4'
1248
- : T extends three_webgpu.Matrix3
1249
- ? 'mat3'
1250
- : T extends three_webgpu.Matrix2
1251
- ? 'mat2'
1252
- : unknown
1253
-
1254
- /** Derive the normalized JavaScript value stored by a uniform node. */
1255
- type UniformNodeValue<T> = T extends three_webgpu.UniformNode<infer _TNodeType, infer TValue>
1256
- ? TValue
1257
- : T extends three_webgpu.InputNode<infer _TNodeType, infer TValue>
1258
- ? TValue
1259
- : T extends string | { r: number; g: number; b: number }
1260
- ? three_webgpu.Color
1261
- : T extends { x: number; y: number; z: number; w: number }
1262
- ? three_webgpu.Vector4
1263
- : T extends { x: number; y: number; z: number }
1264
- ? three_webgpu.Vector3
1265
- : T extends { x: number; y: number }
1266
- ? three_webgpu.Vector2
1267
- : T extends number
1268
- ? number
1269
- : T extends boolean
1270
- ? boolean
1271
- : T
1272
-
1273
- /** Three's exact UniformNode with shader and value generics derived from an input. */
1274
- type UniformNodeFor<T> = three_webgpu.UniformNode<UniformNodeType<T>, UniformNodeValue<T>>
1275
-
1276
- /** Preserve every input key while mapping values to exact Three uniform nodes. */
1277
- type UniformNodesFor<T extends UniformInputRecord> = {
1278
- [K in keyof T]: UniformNodeFor<T[K]>
1279
- }
1280
-
1281
- /** Backward-compatible single-parameter uniform alias. */
1282
- type UniformNode<T = unknown> = UniformNodeFor<T>
1283
-
1284
- /** Flat record of uniform nodes (no nested scopes) */
1285
- type UniformRecord<T extends UniformNode = UniformNode> = Record<string, T>
1286
-
1287
- /**
1288
- * Uniform store that can contain both root-level uniforms and scoped uniform objects
1289
- * Used by state.uniforms which has structure like:
1290
- * { uTime: UniformNode, player: { uHealth: UniformNode }, enemy: { uHealth: UniformNode } }
1291
- */
1292
- type UniformStore = Record<string, UniformNode | UniformRecord>
1293
-
1294
- /**
1295
- * Helper to safely access a uniform node from the store.
1296
- * Use this when accessing state.uniforms to get proper typing.
1297
- * @example
1298
- * const uTime = uniforms.uTime as UniformNode<number>
1299
- * const uColor = uniforms.uColor as UniformNode<import('three/webgpu').Color>
1300
- */
1301
- type GetUniform<T = unknown> = UniformNode<T>
1302
-
1303
- /**
1304
- * Acceptable input values for useUniforms - raw values that get converted to UniformNodes
1305
- * Supports:
1306
- * - Primitives: number, string (color), boolean
1307
- * - Three.js types: Color, Vector2/3/4, Matrix2/3/4
1308
- * - Plain objects: { x, y, z, w } converted to vectors
1309
- * - TSL nodes: color(), vec3(), float() for type casting
1310
- * - UniformNode: existing uniforms (reused as-is)
1311
- */
1312
- type UniformValue =
1313
- | number
1314
- | string
1315
- | boolean
1316
- | three_webgpu.Color
1317
- | three_webgpu.Vector2
1318
- | three_webgpu.Vector3
1319
- | three_webgpu.Vector4
1320
- | three_webgpu.Matrix2
1321
- | three_webgpu.Matrix3
1322
- | three_webgpu.Matrix4
1323
- | { x: number; y: number }
1324
- | { x: number; y: number; z: number }
1325
- | { x: number; y: number; z: number; w: number }
1326
- | { r: number; g: number; b: number; a?: number } // Plain objects converted to Color
1327
- | three_webgpu.Node // TSL nodes like color(), vec3(), float() for type casting
1328
- | UniformNode
1329
-
1330
- /** Input record for useUniforms - accepts raw values or UniformNodes */
1331
- type UniformInputRecord = Record<string, UniformValue>
1332
- }
1333
-
1334
- declare global {
1335
- /**
1336
- * three's own render pipeline type. Named here so the rest of R3F refers to three's shape
1337
- * rather than `any`. three r183 renamed `PostProcessing` to `RenderPipeline`; our peer floor
1338
- * is r185, so the new name is the only one.
1339
- */
1340
- type ThreeRenderPipeline = three_webgpu.RenderPipeline
1341
-
1342
- /**
1343
- * The pass `useRenderPipeline` creates for you: three's own `PassNode`, as returned by
1344
- * `pass(scene, camera)` from `three/tsl`. Referenced from three so members like
1345
- * `getTextureNode`, `setMRT` and `dispose` track the installed version.
1346
- */
1347
- type ScenePassNode = three_webgpu.PassNode
1348
-
1349
- /**
1350
- * Pass record - stores TSL pass nodes for render pipeline.
1351
- *
1352
- * `scenePass` is the only key the library owns. It is optional here because this is also the
1353
- * shape of `state.passes`, which is `{}` before the pipeline exists and again after `reset()`
1354
- * or `clearPasses()`. Inside the callbacks it is always present; see
1355
- * {@link RenderPipelineCallbackState}.
1356
- *
1357
- * Every other key is user-registered, via a callback's return value. Those are TSL nodes of
1358
- * any kind, not only passes: texture reads of an MRT attachment, effect nodes, extra
1359
- * `pass()` instances. `Node` is the common base, so that is the bound. Narrow at the call
1360
- * site when you need a member, e.g. `passes.velocity as TextureNode`.
1361
- *
1362
- * The index signature admits `undefined` because a key may simply not be registered, and
1363
- * because the optional `scenePass` must be assignable to it: under `skipLibCheck: false` an
1364
- * optional property whose type excludes `undefined` from the index signature is an error
1365
- * (TS2411) for every consumer compiling these declarations.
1366
- */
1367
- interface PassRecord {
1368
- scenePass?: ScenePassNode
1369
- [key: string]: three_webgpu.Node | undefined
1370
- }
1371
-
1372
- /**
1373
- * State passed to pipeline callbacks after the active pipeline has been created.
1374
- *
1375
- * `passes.scenePass` is required here: the hook installs the default scene pass before either
1376
- * callback runs, so callbacks can use it without a guard or a cast.
1377
- *
1378
- * `renderer` is narrowed to `WebGPURenderer` and `isLegacy` to `false`: the hook throws under
1379
- * the legacy renderer before either callback can run, so a callback never sees WebGL.
1380
- */
1381
- type RenderPipelineCallbackState = RootState & {
1382
- renderPipeline: ThreeRenderPipeline
1383
- passes: PassRecord & { scenePass: ScenePassNode }
1384
- renderer: three_webgpu.WebGPURenderer
1385
- isLegacy: false
1386
- }
1387
-
1388
- /**
1389
- * What a callback may return to register entries into `state.passes`.
1390
- *
1391
- * `scenePass` is reserved. The hook owns that entry and its lifecycle: it caches the pass it
1392
- * created, and `rebuild()` / `reset()` dispose that cached pass. A callback overwriting the
1393
- * store entry would leave the store pointing at a node the hook never disposes, and the hook
1394
- * disposing a pass nothing references. So returning it is a type error.
1395
- */
1396
- type RegisteredPasses = Record<string, three_webgpu.Node> & { scenePass?: never }
1397
-
1398
- /** Setup callback - runs first to configure MRT, create additional passes */
1399
- type RenderPipelineSetupCallback = (state: RenderPipelineCallbackState) => RegisteredPasses | void
1400
-
1401
- /** Main callback - runs second to configure outputNode, create effect passes */
1402
- type RenderPipelineMainCallback = (state: RenderPipelineCallbackState) => RegisteredPasses | void
1403
-
1404
- /** The imperative half of useRenderPipeline's return value, present in every state */
1405
- interface UseRenderPipelineActions {
1406
- /** Current passes from state */
1407
- passes: PassRecord
1408
- /** Clear all passes from state */
1409
- clearPasses: () => void
1410
- /** Reset RenderPipeline entirely (clears PP + passes) */
1411
- reset: () => void
1412
- /** Re-run setup/main callbacks with current closure values */
1413
- rebuild: () => void
1414
- }
1415
-
1416
- /**
1417
- * Return type for useRenderPipeline hook, discriminated on `isReady`.
1418
- *
1419
- * `if (isReady)` narrows `renderPipeline` to non-null, which is what the docs already tell
1420
- * callers to check. `passes.scenePass` deliberately stays optional in the ready branch:
1421
- * `clearPasses()` empties the record while leaving the pipeline in place.
1422
- */
1423
- type UseRenderPipelineReturn = UseRenderPipelineActions &
1424
- (
1425
- | {
1426
- /** True when RenderPipeline is configured and ready */
1427
- isReady: true
1428
- /** RenderPipeline instance */
1429
- renderPipeline: ThreeRenderPipeline
1430
- }
1431
- | {
1432
- /** False until the pipeline has been created */
1433
- isReady: false
1434
- /** Not initialized yet, or torn down by reset() */
1435
- renderPipeline: null
1436
- }
1437
- )
1438
- }
1439
-
1440
1106
  type MutableOrReadonlyParameters<T extends (...args: any) => any> = Parameters<T> | Readonly<Parameters<T>>
1441
1107
 
1442
1108
  interface MathRepresentation {
@@ -3928,4 +3594,4 @@ declare function isOnce(value: unknown): value is {
3928
3594
  declare function Canvas(props: CanvasProps): react_jsx_runtime.JSX.Element;
3929
3595
 
3930
3596
  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 };
3931
- export type { Act, Args, ArgsProp, AttachFnType, AttachType, BackgroundConfig, BackgroundProp, BaseRendererProps, Bridge, BufferLike, BufferRecord, BufferStore, Camera, CameraProps, 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, InternalState, Intersection, IntersectionEvent, IsAllOptional, IsOptional, Layers, 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, R3FRenderer, RaycastableRepresentation, ReactProps, ReconcilerRoot, RenderCallback, RenderProps, RenderTargetOptions, Renderer, RendererConfigExtended, RendererFactory, RendererProps, Root, RootExtension, RootState, RootStore, SetBlock, Size, StorageLike, StorageRecord, StorageStore, Subscription, TSLNodeInput, TextureInput, TextureResult, ThreeCamera, ThreeElement, ThreeElements, ThreeElementsImpl, ThreeEvent, ThreeExports, ThreeToJSXElements, UnblockProps, UseTextureOptions, UseTexturesReturn, Vector2, Vector3, Vector4, VectorRepresentation, Viewport, VisibilityEntry, WebGLDefaultProps, WebGLProps, WebGLShadowConfig, XRManager, XRPointerConfig };
3597
+ export type { Act, Args, ArgsProp, AttachFnType, AttachType, BackgroundConfig, BackgroundProp, BaseRendererProps, Bridge, Camera, CameraProps, 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, InternalState, Intersection, IntersectionEvent, IsAllOptional, IsOptional, Layers, 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, R3FRenderer, RaycastableRepresentation, ReactProps, ReconcilerRoot, RenderCallback, RenderProps, RenderTargetOptions, Renderer, RendererConfigExtended, RendererFactory, RendererProps, Root, RootExtension, RootState, RootStore, SetBlock, Size, Subscription, TSLNodeInput, TextureInput, TextureResult, ThreeCamera, ThreeElement, ThreeElements, ThreeElementsImpl, ThreeEvent, ThreeExports, ThreeToJSXElements, UnblockProps, UseTextureOptions, UseTexturesReturn, Vector2, Vector3, Vector4, VectorRepresentation, Viewport, VisibilityEntry, WebGLDefaultProps, WebGLProps, WebGLShadowConfig, XRManager, XRPointerConfig };