/** * Split apart multiple type encodings contained in a single encoding string. * @param encodings */ export declare function splitEncodings(encodings: string): Generator; export declare function joinEncodings(encodings: string[]): string; /** * Build an array type encoding from a length and an element type encoding. * * .. note:: * * This function currently doesn't perform any checking on ``element_type_encoding``, * but such checks may be added in the future. * ``element_type_encoding`` should always be a valid type encoding string. * @param arrayEncoding */ export declare function parseArrayEncoding(arrayEncoding: string): { length: number; elementTypeEncoding: string; }; export declare function buildArrayEncoding(length: number, elementTypeEncoding: string): string; /** * Parse an array type encoding into its name and field type encodings. * @param structEncoding */ export declare function parseStructEncoding(structEncoding: string): { name: string | undefined; fieldTypeEncodings: string[]; }; export declare function buildStructEncoding(fieldTypeEncodings: string[], name?: string): string; export declare function encodingMatchesExpected(actualEncoding: string, expectedEncoding: string): boolean; export declare function allEncodingsMatchExpected(actualEncodings: string[], expectedEncodings: string[]): boolean;