import { TokenResponse } from '../types/responses'; /** * Handles authentication token operations * @internal */ export declare class TokenApi { private readonly baseURL; private readonly requestTimeout; private readonly maxRetries; constructor(baseURL?: string); /** * Get an access token using client credentials * @param clientId - The client ID * @param clientSecret - The client secret * @param grantType - The grant type (default: 'client_credentials') * @returns Promise containing the token response * @throws {UnauthorizedError} If credentials are invalid * @throws {Error} If the request fails */ getToken(clientId: string, clientSecret: string, grantType?: string): Promise; private makeTokenRequest; private validateTokenResponse; private createUnauthorizedError; private createErrorResponse; private shouldRetry; private delay; private generateRequestId; } //# sourceMappingURL=tokenApi.d.ts.map