interface SetAuthInformationParameters { getAccessToken: () => string; expiresIn?: number; refreshToken?: string; accountDomain?: string; } export type AuthStatus = 'authenticated' | 'not-authenticated' | 'refreshing'; export interface AuthInformationState { getAccessToken?: () => string; accountDomain?: string; status: AuthStatus; } export declare function useAuthInformation(externalGetAccessToken?: () => string): [AuthInformationState, (info: SetAuthInformationParameters) => void, () => void]; export {};