/// export declare function bufferToObject(buf: Buffer): T;