/**
 * Uses the browser's native image decoder
 * @extends {Codec<{width:number, height:number, data: Uint8Array, itemSize: number, bitDepth:number}>}
 */
export class NativeImageDecoder extends Codec<{
    width: number;
    height: number;
    data: Uint8Array;
    itemSize: number;
    bitDepth: number;
}> {
    constructor();
    /**
     *
     * @param {Uint8Array} data
     * @return {{data: Uint8Array, width: number, height: number, itemSize: number, bitDepth: number}}
     */
    decodeSync(data: Uint8Array): {
        data: Uint8Array;
        width: number;
        height: number;
        itemSize: number;
        bitDepth: number;
    };
    decode(data: any): Promise<{
        data: Uint8Array;
        width: number;
        height: number;
        itemSize: number;
        bitDepth: number;
    }>;
}
import { Codec } from "./Codec.js";
//# sourceMappingURL=NativeImageDecoder.d.ts.map