import { Headers } from '../../lib/headers/Headers.js';
import { Payload } from '../../lib/transformers/PayloadSerializer.js';
/**
 * Normalizes line endings to CRLF
 * https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/wtf/text/line_ending.cc;l=68
 *
 * @param string A string to be normalized.
 * @return normalized string
 */
export declare function normalizeString(string: string): string;
/**
 * Transforms the request payload into a `Buffer`
 *
 * @param headers A headers object where to append headers when needed
 * @param payload A payload message
 * @returns A promise resolved to a `Buffer`.
 */
export declare function payloadToBuffer(headers: Headers, payload?: Payload): Buffer | undefined;
//# sourceMappingURL=PayloadSupport.d.ts.map