import type { initialProps, DataCenter } from "./types"; declare class AuthenticationClient { #private; apiVersion: string; get dataCenter(): DataCenter; set dataCenter(value: DataCenter); constructor(props: initialProps); getTokenEndpoint(): string; getApiBaseUrl(): string; isTokenValid(): boolean; refreshAccessToken(): Promise; getAccessToken(): string | undefined; getRefreshToken(): string; /** * Updates one or more OAuth credentials on this client instance. * * Changing `clientId`, `clientSecret`, `refreshToken`, or `dataCenter` automatically * invalidates the cached access token so the next request triggers a fresh token fetch * rather than reusing a token minted for the previous credentials. */ updateCredentials(props: Partial): void; } export { AuthenticationClient, type initialProps };