import { IExecuteFunctions, ILoadOptionsFunctions, IDataObject } from 'n8n-workflow';
export declare abstract class ApiService {
    protected executeFunctions: IExecuteFunctions | ILoadOptionsFunctions;
    protected credentials: any;
    protected abstract serviceName: string;
    constructor(executeFunctions: IExecuteFunctions | ILoadOptionsFunctions, credentials: any);
    protected abstract getBaseUrl(): string;
    protected request(method: string, endpoint: string, body?: any, query?: IDataObject, formData?: any, headers?: IDataObject): Promise<any>;
    protected handleApiError(error: any): never;
    protected log(message: string, data?: any): void;
}
