///
/**
* parse buffer data to buffer
*/
export declare function toObject(chunk: Buffer): any;
/**
* parse buffer data to array
*/
export declare function toArray(chunk: Buffer): any;
/**
* parse buffer data to string
*/
export declare function toString(chunk: Buffer): any;
/**
* parse buffer data to number
*/
export declare function toNumber(chunk: Buffer): any;
/**
* parse promise to callback
*/
export declare function toCallback(parameter: Promise, callback: any): ReturnType<() => void>;