import Frame from './frame';
export declare const BYTES: {
    LF: string;
    NULL: string;
};
export declare const trim: (str: string) => string;
export declare function unicodeStringToTypedArray(s: string): Uint8Array;
export declare function typedArrayToUnicodeString(ua: any): string;
export declare function sizeOfUTF8(s: string): number;
export declare const parseData: (data: any, partialData: any, hearbeatMsg: string) => {
    frames: Frame[];
    partial: string;
};
export declare class Log {
    hasDebug: boolean;
    setDebug: (_hasDebug: boolean) => void;
    debug: (message: any, ...args: any[]) => void;
}
declare const logger: Log;
export { logger };
