import { IReloginResponseDTO } from '../interfaces/dto/relogin-response-dto.interface'; import { IUserIdentityConfirmationStatus } from '../interfaces/identity-confirmation-status.interface'; import { FgBaseAPI } from './base-api'; export declare class FgIdentityAPI extends FgBaseAPI { cache: boolean; private _tokenForURL; private _window; constructor(args: any); protected _afterLoad(): void; get baseIdentityUrl(): string; get identityPublicUrl(): string; get changePasswordUrl(): string; get removeAccountUrl(): string; get loginUrl(): string; getViewProfileUrl(id: number): string; tryToRelogin(token: string, refresh: string, session: string): Promise; preLogin(code: string): Promise; getAndUsePreLoginCode(code: string, secret: string): Promise<{ ready: any; reloginToken: any; token: any; } | { ready: boolean; reloginToken?: undefined; token?: undefined; }>; getAccountConfirmationStatus(): Promise; sendAccountConfirmationRequestEmail(): Promise; openLoginWithRedirect(): void; openChangePasswordWithRedirect(): void; openViewProfileWithRedirect(id: number): void; openRemoveAccountWithRedirect(): void; openChangePasswordWindow(): Promise; openViewProfileWindow(id: number): Promise; openRemoveAccountWindow(): Promise; private __openWindowAndWaitForResult; private __waitForResult; openLoginWindow(): Promise; getLoginUrl(cache?: boolean, redirectUrl?: string | null, preloginCode?: string | null, httpEncode?: boolean): string; isAccount(question: string): Promise; isAccountBanned(): Promise; isAccountGuest(): Promise; isAccountConfirmed(): Promise; getLoggedProfile(scopes: string[]): Promise; getUserProfile(id?: string, scopes?: string[]): Promise; updateUserProfile(data: any): Promise; changePassword(oldPassword: string, newPassword: string): Promise; logout(): Promise; private _openWindow; }