import { RequestClient } from '@segment/actions-core'; declare abstract class DDApi { private readonly apiUrl; private readonly request; protected constructor(api_host: string, request: RequestClient); protected get(endpoint: string, params?: Record): Promise>; protected post(endpoint: string, data: RequestJSON): Promise>; protected delete(endpoint: string): Promise>; protected patch(endpoint: string, data: RequestJSON): Promise>; } export default DDApi;