import type { UnifiedSourceView } from '../core/splat-mesh-types'; import type * as THREE from 'three/webgpu'; /** Last successful gather inputs that decide whether a source can skip work. */ export type GatherCacheSnapshot = { activeCount: number; contentRevision: number; /** Streamed LOD / slot replacement; not always identical to contentRevision. */ activeListVersion: number; offset: number; opacity: number; matrixWorld: THREE.Matrix4; /** Local camera position used by view-dependent SH evaluation. */ localCameraPosition: THREE.Vector3; }; /** True when world centers, covariance, and cached modifier geometry still match. */ export declare const gatherGeometryMatches: (last: GatherCacheSnapshot, view: UnifiedSourceView, sliceOffset: number, ownedSameSlice: boolean, effectiveOpacity: number) => boolean; /** SH depends on camera position, not orientation. */ export declare const gatherShCameraMatches: (last: GatherCacheSnapshot, view: UnifiedSourceView) => boolean; /** Cached modifier geometry is camera-independent until the host invalidates. */ export declare const gatherModifiersReusable: (view: UnifiedSourceView, cacheModifiers: boolean) => boolean; export declare const createGatherCache: (view: UnifiedSourceView, sliceOffset: number, effectiveOpacity: number) => GatherCacheSnapshot; export declare const writeGatherCache: (last: GatherCacheSnapshot, view: UnifiedSourceView, sliceOffset: number, effectiveOpacity: number) => void;