export interface EditResourceRequest<T> {
    resource: T;
    resourceName: string;
}
export declare function httpGet(endpoint: string, queryParams?: [string, string][]): Promise<Response>;
export declare function httpPost(endpoint: string, body: object): Promise<Response>;
export declare function httpPut(endpoint: string, body: object): Promise<Response>;
export declare function httpDelete(endpoint: string, body?: object): Promise<Response>;
export declare function getObjectFromResponse<T>(response: Response): Promise<T>;
export declare function getDataFromResponse<T>(response: Response): Promise<T>;
export declare function getResultFromResponse<T>(response: Response): Promise<T>;
export declare function httpAuth(userEmail?: string): Promise<void>;
