export declare class ServiceEndpoint { private readonly endpointUrl; private readonly defaultRequest; constructor(endpointUrl: string, defaultRequest?: RequestInit); private static handleResponse; private static handleError; get(path: string, query?: object | null, request?: RequestInit): Promise; post(path: string, query: object | null, body: object | null, request?: RequestInit): Promise; put(path: string, query: object | null, body: object | null, request?: RequestInit): Promise; del(path: string, query: object | null, body: object | null, request?: RequestInit): Promise; ping(path?: string): Promise; }