/**
 * Pads the current Buffer with string (repeated, if needed) so that the resulting Buffer reaches the given length
 * The padding is applied form the start (left) if "start" is true or the end (right) if is false
 * @param str Buffer to be padded
 * @param length Final size of the Buffer
 * @param addString String to be added to the Buffer
 * @param start Pad from the start of the Buffer or from the end
 * @returns Padded Buffer
 */
export declare function pad(str: Buffer, length: number, addString?: string, start?: boolean): Buffer;
