import { type OpointProps, type OpointResponse } from '@opoint/types'; export declare class BaseService { base_url: string; method: string; headers: Headers; endpoint: string; constructor({ api_key }: { api_key: string; }); /** * https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch * * @param params */ fetch(opts: RequestInit, paths?: Array, params?: any): Promise; /** * */ _delete(id: string): Promise; /** * */ _get(paths: Array, params?: OpointProps): Promise; /** * */ _patch(paths: Array, body: OpointProps): Promise; /** * */ _post(body: OpointProps): Promise; }