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