export type HeadersObject = Record<string, string>;
export type HeadersInit = Headers | HeadersObject | Record<string, string> | Iterable<readonly [string, string]> | Iterable<Iterable<string>>;
export type BodyInit = Blob | Buffer | URLSearchParams | string;
export interface RequestInit {
    body?: BodyInit | null;
    headers?: HeadersInit;
    method?: string;
}
export type RequestInfo = string | Request;
export interface Request {
    readonly headers: Headers | HeadersObject;
    readonly method: string;
    readonly url: string;
}
/**
 * Generate an http message string using the fetch API
 *
 * @param input Fetch input
 * @param init Fetch init
 * @returns The http message string
 */
export default function fetchHttpMessage(input: RequestInfo, init?: RequestInit): string;
