type ValueOf = T[keyof T]; export declare const EchoMethod: { readonly GET: "GET"; readonly POST: "POST"; readonly PUT: "PUT"; readonly PATCH: "PATCH"; readonly DELETE: "DELETE"; }; export type EchoMethod = ValueOf; export declare const EchoResponseType: { readonly JSON: "json"; readonly TEXT: "text"; readonly ARRAY_BUFFER: "arrayBuffer"; readonly BLOB: "blob"; readonly FORM_DATA: "formData"; readonly STREAM: "stream"; readonly ORIGINAL: "original"; }; export type EchoResponseType = ValueOf; export declare const EchoInterceptors: { readonly REQUEST: "request"; readonly RESPONSE: "response"; }; export type EchoInterceptors = ValueOf; type PrimitiveParam = string | number | boolean | null | undefined; export type EchoSearchParams = Record; export type EchoConfig = Omit & { method: EchoMethod; url: string; baseURL?: string; params?: EchoSearchParams; headers?: Record; responseType?: EchoResponseType; body?: any; duplex?: 'half' | 'full'; }; export type EchoCreateConfig = Omit; export type EchoRequest = Omit; export type EchoRequestOptions = EchoCreateConfig; export type EchoResponse = { data: T; status: number; statusText: string; headers: Record; config: EchoConfig; request: EchoRequest; }; type Interceptor = { onFulfilled?: null | ((value: T) => T | Promise); onRejected?: null | ((error: any) => any); }; type InterceptorMap = Map>; export type EchoRequestInterceptors = InterceptorMap; export type EchoResponseInterceptors = InterceptorMap; export {};