import { EchoFetch } from './fetch'; import type { EchoConfig, EchoCreateConfig, EchoRequestOptions, EchoResponse } from './types'; export declare class EchoMethods { readonly request: (config: EchoConfig) => Promise>; constructor(request: (config: EchoConfig) => Promise>); get: (url: string, options?: EchoRequestOptions) => Promise>; post: (url: string, body?: any, options?: EchoRequestOptions) => Promise>; put: (url: string, body?: any, options?: EchoRequestOptions) => Promise>; patch: (url: string, body?: any, options?: EchoRequestOptions) => Promise>; delete: (url: string, options?: EchoRequestOptions) => Promise>; } export type EchoClientInstance = Omit; export declare class EchoClient extends EchoFetch implements EchoMethods { protected readonly createConfig: EchoCreateConfig; constructor(createConfig?: EchoCreateConfig); request: (configure: EchoConfig) => Promise>; private methods; get: (url: string, options?: EchoRequestOptions) => Promise>; post: (url: string, body?: any, options?: EchoRequestOptions) => Promise>; put: (url: string, body?: any, options?: EchoRequestOptions) => Promise>; patch: (url: string, body?: any, options?: EchoRequestOptions) => Promise>; delete: (url: string, options?: EchoRequestOptions) => Promise>; }