import type { WebpDecodeOptions, WebpImageData } from './types'; /** * Decode a WebP image buffer to RGBA pixel data. * * Supported containers: * - simple `RIFF/WEBP/VP8 ` (lossy VP8) — bit-exact with `dwebp` * - simple `RIFF/WEBP/VP8L` (lossless) — round-trips exactly * - extended `RIFF/WEBP/VP8X + VP8L` (lossless with optional alpha) * - extended `RIFF/WEBP/VP8X + ALPH + VP8 ` (lossy with alpha) * * VP8L is preferred over VP8 when both are present in the same * container (rare, but valid in some extended-format files). */ export declare function decode(buffer: Uint8Array | ArrayBuffer, options?: WebpDecodeOptions): WebpImageData;