import type { LiveComponent, LiveElement, PropsWithChildren } from '@use-gpu/live'; import type { StorageTarget, UniformType } from '@use-gpu/core'; export type ComputeBufferProps = PropsWithChildren<{ width?: number; height?: number; depth?: number; history?: number; format?: UniformType; resolution?: number; label?: string; render?: (source: StorageTarget) => LiveElement; children?: (source: StorageTarget) => LiveElement; then?: (source: StorageTarget) => LiveElement; }>; /** Read-write GPU storage buffer for compute. Will perform frame-buffer flipping with N frames of history. */ export declare const ComputeBuffer: LiveComponent;