@cosmology/ast
Version:
Cosmos TypeScript AST generation
6 lines (5 loc) • 399 B
TypeScript
import * as t from '@babel/types';
import { ProtoEnum, ProtoType } from '@cosmology/types';
import { ProtoParseContext } from '../../context';
export declare const createSDKType: (context: ProtoParseContext, name: string, proto: ProtoType) => t.ExportNamedDeclaration;
export declare const createEnumSDKType: (context: ProtoParseContext, name: string, proto: ProtoEnum) => t.ExportNamedDeclaration;