import { Got, Method } from 'got'; declare type QueryParameters = { [key: string]: number | number[] | string | string[] | boolean; }; export declare type ClientParams = { /** Pluggy Client ID */ clientId: string; /** Pluggy Client Secret */ clientSecret: string; baseUrl?: string; }; export declare class BaseApi { protected apiKey: string; protected clientId: string; protected clientSecret: string; protected baseUrl?: string; protected defaultHeaders: Record; protected serviceInstance: Got; constructor(params: ClientParams); private getServiceInstance; protected getApiKey(): Promise; protected createGetRequest(endpoint: string, params?: QueryParameters): Promise; protected createPostRequest(endpoint: string, params?: QueryParameters, body?: Record): Promise; protected createPutRequest(endpoint: string, params?: QueryParameters, body?: Record): Promise; protected createPatchRequest(endpoint: string, params?: QueryParameters, body?: Record): Promise; protected createDeleteRequest(endpoint: string, params?: QueryParameters, body?: Record): Promise; protected createMutationRequest(method: Method, endpoint: string, params?: QueryParameters, body?: Record): Promise; protected mapToQueryString(params: QueryParameters): string; protected isJwtExpired(token: string): boolean; } export {};