/** undefined for 204 No content */
type ApiSuccess<T> = T | undefined;
export type ApiResponse<T = any> = ApiSuccess<T> | {
    error: {
        message: string;
    };
};
export declare function sendHTTPRequest<U = any>(url: string, options?: RequestInit): Promise<ApiResponse<U>>;
export {};
