/// import { PropertyMap, PropertyValue, PrimitiveType } from './types'; export declare const decodeLength: (length: string) => number; export declare const encodeLength: (length: number) => string; export declare const encodeData: (data: Buffer | string) => Buffer; export declare const stringToType: (value: string) => PropertyValue; export declare const parsePrimitiveParam: (def: T, param: T | undefined) => T; export declare function findMatches(value: string, regExp: RegExp, parseTo: 'list'): string[]; export declare function findMatches(value: string, regExp: RegExp, parseTo: 'map'): PropertyMap; export declare function findMatches(value: string, regExp: RegExp): string[][]; export declare function escape(arg: PrimitiveType): string; export declare function escapeCompat(arg: PrimitiveType): string;