import { Context, AnyType, Parameter } from "@apexlang/core/model"; /** * Creates string that is an msgpack read code block * @param variable variable that is being read * @param t the type node to write * @param prevOptional if type is being expanded and the parent type is optional * @param isReference if the type that is being expanded has a `@ref` annotation */ export declare function msgpackRead(context: Context, typeInstRef: boolean, variable: string, errorHandling: boolean, defaultVal: string, t: AnyType, prevOptional: boolean): string; /** * Creates string that is an msgpack write code block * @param typeInst name of variable which object that is writting is assigning to * @param typeClass class that is being written * @param typeMeth method that is being called * @param variable variable that is being written * @param t the type node to write * @param prevOptional if type is being expanded and the parent type is optional * @param isReference if the type that is being expanded has a `@ref` annotation */ export declare function msgpackWrite(context: Context, typeInst: string, typeInstRef: boolean, typeClass: string, typeMeth: string, variable: string, t: AnyType, prevOptional: boolean): string; /** * Creates string that is an msgpack size code block * @param variable variable that is being size * @param t the type node to encode * @param isReference if the type that is being expanded has a `@ref` annotation */ export declare function msgpackSize(context: Context, typeInstRef: boolean, variable: string, t: AnyType): string; /** * Creates string that is an msgpack encode code block * @param variable variable that is being encode * @param t the type node to encode * @param isReference if the type that is being expanded has a `@ref` annotation */ export declare function msgpackEncode(context: Context, typeInstRef: boolean, variable: string, t: AnyType): string; export declare function msgpackVarAccessParam(variable: string, args: Parameter[]): string; //# sourceMappingURL=msgpack_helpers.d.ts.map