/* tslint:disable */ /* eslint-disable */ /** * @param {string} input * @param {string} stage * @returns {number} */ export function glsl_in(input: string, stage: string): number; /** * @param {string} input * @returns {number} */ export function wgsl_in(input: string): number; /** * @param {number} module * @returns {string} */ export function msl_out(module: number): string; /** * @param {number} module * @returns {Uint8Array} */ export function spv_out(module: number): Uint8Array; export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module; export interface InitOutput { readonly memory: WebAssembly.Memory; readonly glsl_in: (a: number, b: number, c: number, d: number) => number; readonly wgsl_in: (a: number, b: number) => number; readonly msl_out: (a: number, b: number) => void; readonly spv_out: (a: number, b: number) => void; readonly __wbindgen_malloc: (a: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number) => number; readonly __wbindgen_add_to_stack_pointer: (a: number) => number; readonly __wbindgen_free: (a: number, b: number) => void; } /** * 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;