UNPKG

@eliseev_s/tolk-tlb-transpiler

Version:

Transpile Tolk structs to TLB definitions and generate TypeScript wrappers for TON blockchain smart contracts

14 lines 553 B
import type { TolkType, TolkStruct, TypeAliasInfo, TLBDefinition } from './types'; export declare class TLBGenerator { private context; constructor(structs: Map<string, TolkStruct>, typeAliases: Map<string, TypeAliasInfo>); generateTLB(): TLBDefinition[]; private generateStructTLB; private generateUnionTLB; private generateCustomPrefixTLB; private generateUnionConstructor; private getOrAssignTag; tolkTypeToTLB(type: TolkType): string; private generateInlineUnionType; } //# sourceMappingURL=generator.d.ts.map