@fuel-ts/abi-typegen
Version:
Generates Typescript definitions from Sway ABI Json files
24 lines • 782 B
TypeScript
import type { TargetEnum } from '../../types/enums/TargetEnum';
import type { IType } from '../../types/interfaces/IType';
import { AType } from './AType';
export declare class StructType extends AType implements IType {
static swayType: string;
name: string;
static MATCH_REGEX: RegExp;
static IGNORE_REGEX: RegExp;
static isSuitableFor(params: {
type: string;
}): boolean;
parseComponentsAttributes(_params: {
types: IType[];
}): import("../../types/interfaces/IType").ITypeAttributes;
getStructName(): string;
getStructContents(params: {
types: IType[];
target: TargetEnum;
}): string;
getStructDeclaration(params: {
types: IType[];
}): string;
}
//# sourceMappingURL=StructType.d.ts.map