/* tslint:disable */ /* eslint-disable */ /** * @param {string} query * @param {number} num_results * @returns {any} */ export function search(query: string, num_results: number): any; export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module; export interface InitOutput { readonly memory: WebAssembly.Memory; readonly search: (a: number, b: number, c: number) => number; readonly __wbindgen_malloc: (a: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number) => number; } /** * Synchronously compiles the given `bytes` and instantiates the WebAssembly module. * * @param {BufferSource} bytes * * @returns {InitOutput} */ export function initSync(bytes: BufferSource): 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;