/** * Check whether a file is a HEIC/HEIF image. * Inspects magic bytes via heic-to's built-in detection. */ declare function isHeic(file: Blob): Promise; /** * Decode a HEIC/HEIF file to an ImageBitmap. * Uses heic-to (libheif WASM) under the hood. * * @throws {DecodeError} if the file is not HEIC or decoding fails */ declare function decode(file: Blob): Promise; export { decode, isHeic };