export interface HttpBackend {
    get<T>(url: string, headers: Record<string, string>): Promise<T>;
    post<T>(url: string, body: unknown, headers: Record<string, string>): Promise<T>;
    put<T>(url: string, body: unknown, headers: Record<string, string>): Promise<T>;
    delete<T>(url: string, body: unknown, headers: Record<string, string>): Promise<T>;
    sendRequest<T>(url: string, method: string, headers: Record<string, string>, body?: unknown): Promise<T>;
}
export declare const fetchBackend: HttpBackend;
export declare function convertToBodyInit(body?: unknown): BodyInit | undefined;
