import { AxiosResponse } from "axios"; interface RequestResponse { response: AxiosResponse | null; data: T | null; error: any; } export interface ApiRequestInstance { get(url: string, data?: T | object): Promise>; post(url: string, data: T | object): Promise>; put(url: string, data: T | object): Promise>; patch(url: string, data: T | object): Promise>; delete(url: string, data?: T | object): Promise>; }