# Installation
> `npm install --save @types/heic-decode`

# Summary
This package contains type definitions for heic-decode (https://github.com/catdad-experiments/heic-decode).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/heic-decode.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/heic-decode/index.d.ts)
````ts
interface HasBuffer {
    buffer: Uint8Array;
}

interface DecodedImage {
    width: number;
    height: number;
    data: Uint8ClampedArray;
}

interface Decodable {
    decode(): Promise<DecodedImage>;
}

/**
 * @async
 */
declare function decode(bufobj: HasBuffer): Promise<DecodedImage>;

declare namespace decode {
    /**
     * @async
     */
    function all(bufobj: HasBuffer): Promise<Decodable[]>;
}

export = decode;

````

### Additional Details
 * Last updated: Thu, 30 Apr 2026 08:16:47 GMT
 * Dependencies: none

# Credits
These definitions were written by [hieyou1](https://github.com/hieyou1).
