UNPKG

@cosmology/ast

Version:
6 lines (5 loc) 399 B
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;