import { IExecuteFunctions } from 'n8n-workflow';
import { AxiosInstance } from 'axios';
export declare abstract class GraphqlBase {
    protected readonly endpoint: string;
    protected readonly apiKey: string;
    protected readonly userId?: string | undefined;
    protected client: AxiosInstance;
    constructor(endpoint: string, apiKey: string, userId?: string | undefined);
    protected executeGraphql(query: string, variables: Record<string, unknown>): Promise<any>;
    static getCredentials(executeFunctions: IExecuteFunctions): Promise<{
        endpoint: string;
        apiKey: string;
        userId?: string;
    }>;
}
