import { SendRequestConfig , UseRequestConfig , sendRequest as _sendRequest , useRequest as _useRequest , Error as CustomError , } from '../../../shared_imports' ; import { httpService } from '.' ; export const sendRequest = ( config ) => { return _sendRequest < any , CustomError > ( httpService . httpClient , config ) ; } ; export const useRequest = < D = any > ( config ) => { return _useRequest < D , CustomError > ( httpService . httpClient , config ) ; } ;