import type { AjaxConfig, AjaxReturn, InterceptorDecorator } from './types.js'; export declare class Service { static config: AjaxConfig; static ajax: import("./types.js").Ajax; static get resolvedConfig(): AjaxConfig; /** * ------------------------------------------------------------------ * alias without body */ static get(url: string, config?: AjaxConfig): AjaxReturn; static delete(url: string, config?: AjaxConfig): AjaxReturn; static head(url: string, config?: AjaxConfig): AjaxReturn; static options(url: string, config?: AjaxConfig): AjaxReturn; /** * ------------------------------------------------------------------ * alias with body */ static post(url: string, body?: any, config?: AjaxConfig): AjaxReturn; static put(url: string, body?: any, config?: AjaxConfig): AjaxReturn; static patch(url: string, body?: any, config?: AjaxConfig): AjaxReturn; } export declare function Config(config: AjaxConfig): (target: T) => void; export declare function RequestInterceptor(target: Object, propertyKey: PropertyKey, descriptor: PropertyDescriptor): void; export declare function RequestInterceptor(): InterceptorDecorator; export declare function ResponseInterceptor(target: Object, propertyKey: PropertyKey, descriptor: PropertyDescriptor): void; export declare function ResponseInterceptor(): InterceptorDecorator;