/** * C# type conversion utilities */ import { DeukPackAST, DeukPackStruct, DeukPackEnum, DeukPackTypedef, DeukPackType } from '../../types/DeukPackTypes'; export interface TypeContext { ast?: DeukPackAST; currentNamespace?: string; findTypedef: (ast: DeukPackAST, name: string, ns?: string) => DeukPackTypedef | null; findStruct: (ast: DeukPackAST, name: string, ns?: string) => DeukPackStruct | null; findEnumByFullName: (ast: DeukPackAST, name: string, ns?: string) => DeukPackEnum | null; resolveTypeToFullName: (type: string, ns: string | undefined, ast: DeukPackAST) => string; getStructFullName: (struct: DeukPackStruct, ast: DeukPackAST) => string; getEnumFullName: (enumDef: DeukPackEnum, ast: DeukPackAST) => string; wireProfileSubsetFullNames?: Set; wireProfileStructSuffix?: string; } export declare function isLinkTypedefName(typeName: string): boolean; export declare function isPrimitiveTypeName(typeName: string): boolean; export declare function csharpGlobalQualifiedIfCrossNamespace(dottedType: string, currentNamespace?: string): string; export declare function getCSharpType(type: DeukPackType, ctx: TypeContext): string; export declare function renameCSharpTypeIfWireProfileSubset(fullName: string, ctx: TypeContext): string; export declare function getTType(type: DeukPackType, ctx: TypeContext): string; export declare function getResolvedWireTypeString(type: DeukPackType, ctx: TypeContext): string; export declare function isEnumType(type: string, ctx: TypeContext): boolean; export declare function isStructType(type: string, ctx: TypeContext): boolean; export declare function capitalize(str: string): string; //# sourceMappingURL=types.d.ts.map