import { ZodType } from "zod"; export interface IHttpService { get(url: string, options?: RequestInit): Promise; post(url: string, options?: RequestInit, validationSchema?: ZodType): Promise; delete(url: string, options?: RequestInit): Promise; } export declare enum HTTP_ERROR_MESSAGE { FAILED_TO_FETCH_URL = "Failed to fetch url", FAILED_TO_POST_URL = "Failed to post url" } export declare class HttpError extends Error { readonly status: number; readonly data?: unknown; constructor(message: HTTP_ERROR_MESSAGE | string, status: number, data?: unknown); }