/** * @copyright * Copyright 2026 Steven Roussey * All Rights Reserved */ import type { GpuImageEncodeFormat, GpuImage as IGpuImage } from "./gpuImage"; import type { ImageChannels } from "./imageTypes"; import type { ImageValue } from "./imageValue"; import type { RawPixelBuffer } from "./rawPixelBuffer"; export type { RawPixelBuffer } from "./rawPixelBuffer"; export declare class CpuImage implements IGpuImage { private bin; readonly backend: "cpu"; private constructor(); get width(): number; get height(): number; get channels(): ImageChannels; /** @internal — used by CPU filter ops to read the raw pixel buffer. */ getBinary(): RawPixelBuffer; static from(value: ImageValue): Promise; /** @internal — synchronous factory for backends that already have a raw buffer * in hand (used by the WGSL CPU fallback). */ static fromRaw(bin: RawPixelBuffer): CpuImage; toImageValue(previewScale: number): Promise; encode(format: GpuImageEncodeFormat, _quality?: number): Promise; dispose(): void; } //# sourceMappingURL=cpuImage.d.ts.map