import type { GPUBuffer, GPUBufferInternal } from './RITypes'; import type { AttrConfig } from './PredyGPUResource'; import { PredyGPUResource } from './PredyGPUResource'; import type { TypedArray } from './RITypes'; import type { GPUBufferOptions, GPUBufferTarget } from './RITypes'; import type { PredyRenderer } from './PredyRenderer'; export declare class PredyGPUBuffer extends PredyGPUResource implements GPUBuffer { static seed: number; static DefaultInternalMemoryShared: boolean; readonly level: number; readonly target: GPUBufferTarget; protected getAttrConfig(): AttrConfig; get byteLength(): number; readonly usage: GPUBufferOptions['usage']; readonly name: string; private _byteLength; readonly options: GPUBufferOptions; protected onDestroy(): void; constructor(options: GPUBufferOptions, renderer?: PredyRenderer); getElementCount(bytePerElement: number): number; bufferData(typedArray: TypedArray): void; bufferSubData(elementOffset: number, typedArray: TypedArray): void; readSubData(elementOffset: number, typedArray: TypedArray, elementCount?: number): boolean; onAssignRenderer(renderer: PredyRenderer): void; }