import { SupportedEnvironments } from '../config/environments.js'; import { T as TokenStore, A as AccountApi } from '../account.api-xiPBWnqW.js'; import '../types/account.js'; interface AuthTokens { accessToken: string; refreshToken: string; } declare class VideoApi { private readonly apiUrl; private readonly apiKey; private tokenStore; private accountApi; private onRefreshTokenError?; constructor(options: { apiKey: string; environment: SupportedEnvironments; tokenStore: TokenStore; accountApi: AccountApi; onRefreshTokenError?: () => Promise; }); /** * @returns {string} token to connect to a room * */ authorizeUserForRoom(roomName: string): Promise; } export { type AuthTokens, VideoApi };