import type { LiveComponent, LiveElement, PropsWithChildren } from '@use-gpu/live'; import type { ColorSpace, TextureTarget } from '@use-gpu/core'; export type TextureBufferProps = PropsWithChildren<{ width?: number; height?: number; history?: number; sampler?: Partial; format?: GPUTextureFormat; colorSpace?: ColorSpace; samples?: number; resolution?: number; filterable?: boolean; label?: string; render?: (texture: TextureTarget) => LiveElement; children?: (texture: TextureTarget) => LiveElement; then?: (texture: TextureTarget) => LiveElement; }>; /** Read-write GPU texture buffer for compute. Will perform frame-buffer flipping with N frames of history. */ export declare const TextureBuffer: LiveComponent;