/** * Decode image stream, return an array of video frames. * * @param stream - Readable stream containing image data. * @param type - MIME type of the image, e.g. 'image/jpeg'. * * @returns Returns a Promise that resolves to an array of {@link VideoFrame} after decoding completes. * * @example * * const frames = await decodeImg( * (await fetch('')).body!, * `image/gif`, * ); */ export declare function decodeImg(stream: ReadableStream, type: string): Promise;