/**
 * Extra options to pass to the request function.
 */
export type RequestExtras = RequestInit;
/**
 * Serializable form of RequestExtras.
 * Required to use for e.g. recoil params as they need to be serializable.
 */
export declare class RequestExtrasSerializable {
    extras: RequestExtras;
    constructor(extras: RequestExtras);
    /**
     * Get the serializable form of the extras.
     * Transforms the headers into a serializable format rather than a Headers object.
     */
    toSerializable(): RequestExtras | null;
    /**
     * Serialize the extras into a string.
     */
    toJSON(): string | null;
}
/**
 * Light wrapper around fetch.
 *
 * @param url URL
 * @param options optional fetch options. Multiple option sets can be provided, they will be merged in order with later options overriding earlier ones.
 */
export declare function request(url: string | URL, ...options: RequestInit[]): Promise<Response>;
//# sourceMappingURL=http.d.ts.map