type HttpMethod = "GET" | "POST" | "PUT" | "DELETE";
declare function apiRequest<T = any>(endpoint: string, method?: HttpMethod, data?: Record<string, any> | null): Promise<T>;
export default apiRequest;
