import type { EncodeOptions } from '../shared/meta'; export default function encode(data: ImageData, options: EncodeOptions): Promise;