/// import { AxiosInstance } from 'axios'; import https from 'https'; import { AuthType } from './auth-v2'; export declare type AuthConfig = { useCredentialsCaching: boolean; type: AuthType; }; export declare abstract class BaseApiClient { private api; private apiKey; private apiSecret; private session; private sessionV2; private httpsAgent?; private authConfig; protected abstract getPoolId(): string; protected abstract getPoolClientId(): string; protected abstract getApiUrl(type?: AuthType): string; constructor(params: { apiKey: string; apiSecret: string; httpsAgent?: https.Agent; authConfig?: AuthConfig; }); private getAccessToken; private getAccessTokenV2; private refreshSession; private refreshSessionV2; protected init(): Promise; protected apiCall(fn: (api: AxiosInstance) => Promise): Promise; } //# sourceMappingURL=client.d.ts.map