import type { ImageMetadata } from "../types.ts"; export declare function isWebp(buf: Uint8Array): boolean; export declare function readWebpMetadata(buf: Uint8Array): ImageMetadata; export declare function writeWebpMetadata(buf: Uint8Array, meta: ImageMetadata): Uint8Array; /** * Strip XMP and EXIF metadata (privacy / size). The ICC colour profile and all * image data are preserved; pixels are never re-encoded. */ export declare function removeWebpMetadata(buf: Uint8Array): Uint8Array;