/// import { Device } from "./device"; import type { ATypedArray, Dtype } from "./dtype"; import { GPUBufferStorage, UntypedStorage } from "./storage"; import type { Kernel, KernelConfig, KernelSpec } from "./kernel"; export declare class DeviceWebGPU extends Device { private _device; get gpuDevice(): GPUDevice; constructor(id: string, adapter: GPUAdapter, device: GPUDevice); alloc(byteSize: number): GPUBufferStorage; createKernel(spec: KernelSpec, config: KernelConfig): Kernel; getStorageFromKernel(storage: ATypedArray | GPUBuffer): UntypedStorage; getBufferForKernel(storage: UntypedStorage, dtype: Dtype): ATypedArray | GPUBuffer; }