/**
 * ```js
 * import { setAccessTokenHandler } from '@amityco/ts-sdk'
 *
 * const tokenHandler = {
 *   async onTokenRenew() {
 *     const response = await fetch('https://your-backend.com/api/refresh-token', {
 *       method: 'POST',
 *       credentials: 'include',
 *     });
 *     const data = await response.json();
 *     return data.accessToken;
 *   }
 * };
 *
 * setAccessTokenHandler(tokenHandler);
 * ```
 *
 * Registers a custom handler for managing access token renewal and expiration events.
 * This enables automatic token refresh and graceful handling of expired tokens.
 *
 * Must be called before loginWithAccessToken() to ensure the handler is available
 * when token expiry is detected.
 *
 * @param accessTokenHandler Handler object implementing token renewal callbacks
 * @returns void
 *
 * @category Client API
 */
export declare const setAccessTokenHandler: (accessTokenHandler: Amity.AccessTokenHandler) => void;
//# sourceMappingURL=setAccessTokenHandler.d.ts.map