import type { ComputeNode } from 'three/webgpu'; import type { TSLStorageNode } from '../../../types/tsl.js'; export interface MPMClearDiagnosticsPassOptions { diagnosticsBuffer: TSLStorageNode<'uint'>; } export interface MPMOverflowAuditPassOptions extends MPMClearDiagnosticsPassOptions { gridAtomic: TSLStorageNode<'struct'>; gridCellCount: number; workgroupSize: number; } export declare function computeClearDiagnosticsPass({ diagnosticsBuffer, }: MPMClearDiagnosticsPassOptions): ComputeNode; export declare function computeOverflowAuditPass({ gridAtomic, diagnosticsBuffer, gridCellCount, workgroupSize, }: MPMOverflowAuditPassOptions): ComputeNode;