import * as binaryen from "./wasm-encoder.js"; import type { EdictModule } from "../ast/nodes.js"; export interface ImportSig { paramTypes: binaryen.Type[]; returnType: binaryen.Type; } /** * FALLBACK: Scan function bodies for calls to imported names and infer WASM types * from the function's declared param/return types at call sites. * * When imports declare typed signatures (Import.types), the codegen uses those * directly. This inference is only needed for backwards-compatible untyped imports. */ export declare function inferImportSignatures(module: EdictModule, importedNames: Set): Map; //# sourceMappingURL=imports.d.ts.map