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