/* tslint:disable */ /* eslint-disable */ /** * @param {object} _this * @param {Uint8Array} gif * @param {string} src * @param {Function} load_images * @param {Function} callback * @returns {Promise>} */ export function parse(_this: object, gif: Uint8Array, src: string, load_images: Function, callback: Function): Promise>; export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module; export interface InitOutput { readonly memory: WebAssembly.Memory; readonly parse: (a: number, b: number, c: number, d: number, e: number) => number; readonly __wbindgen_malloc: (a: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1bbba354c011184: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly wasm_bindgen__convert__closures__invoke2_mut__h313b54e07f8a3bf9: (a: number, b: number, c: number, d: number) => void; } export type SyncInitInput = BufferSource | WebAssembly.Module; /** * Instantiates the given `module`, which can either be bytes or * a precompiled `WebAssembly.Module`. * * @param {SyncInitInput} module * * @returns {InitOutput} */ export function initSync(module: SyncInitInput): InitOutput; /** * If `module_or_path` is {RequestInfo} or {URL}, makes a request and * for everything else, calls `WebAssembly.instantiate` directly. * * @param {InitInput | Promise} module_or_path * * @returns {Promise} */ export default function init (module_or_path?: InitInput | Promise): Promise;