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