import { QueryRequest, QueryResponse, SaveRequest, SaveResponse, ErrorResponse, Response, HistoryRequest, HistoryResponse } from 'sync-ql'; export declare const NoData: any; export declare const defaultHeaders: { Accept: string; }; export type { QueryRequest, QueryResponse, SaveRequest, SaveResponse, HistoryRequest, HistoryResponse, ErrorResponse, Response }; export declare abstract class Service { protected constructor(service: string); protected readonly cache: CacheService; protected readonly request: RequestService; } declare class RequestService { private service; constructor(service: string); /****************************** METHODS ******************************/ get(url: string, params?: { [key: string]: string; }, headers?: { [key: string]: string; }): Promise>; post(url: string, params?: { [key: string]: string; }, data?: any, headers?: { [key: string]: string; }): Promise>; put(url: string, params?: { [key: string]: string; }, data?: any, headers?: { [key: string]: string; }): Promise>; delete(url: string, params?: { [key: string]: string; }, headers?: { [key: string]: string; }): Promise>; } declare class CacheService { private service; private cache; constructor(service: string); /****************************** METHODS ******************************/ get(url: string, params?: { [key: string]: string; }, headers?: { [key: string]: string; }): Promise>; post(url: string, params?: { [key: string]: string; }, data?: any, headers?: { [key: string]: string; }): Promise>; clear(url?: string): void; } export declare const send: { request: (callback: () => Promise, loading?: 'DONT SHOW LOADING') => Promise; }; //# sourceMappingURL=index.d.ts.map