@fuel-ts/abi-typegen
Version:
Generates Typescript definitions from Sway ABI Json files
16 lines • 570 B
TypeScript
import type { IFunction, JsonAbiFunction, IFunctionAttributes } from '../../index';
import type { IType } from '../../types/interfaces/IType';
export declare class Function implements IFunction {
name: string;
types: IType[];
rawAbiFunction: JsonAbiFunction;
attributes: IFunctionAttributes;
constructor(params: {
types: IType[];
rawAbiFunction: JsonAbiFunction;
});
bundleInputTypes(shouldPrefixParams?: boolean): string;
bundleOutputTypes(): string;
getDeclaration(): string;
}
//# sourceMappingURL=Function.d.ts.map