import { AccountLink, LeapToken, ReauthenticateLink, Redirections, UserInfo } from './types'; export declare class LeapAuthService { #private; constructor(authHost: string, clientId: string); getAccessTokenByJti: (jti: string) => Promise; getRedirections: () => Promise; exchangeAuthCodeForAccessToken: (params: { code: string; redirectUri: string; verifier: string; }) => Promise; renewAccessToken: (params: { refreshToken: string; verifier: string; }) => Promise; userInfo: (token: string | undefined) => Promise; linkUser: (params: { redirectUrl: string; jti: string; newWindow?: boolean; callback?: any; }) => void; unlinkUser: (params: { redirectUrl: string; jti: string; newWindow?: boolean; callback?: any; }) => void; getCloudProviderToken: (token: string, jti?: string | undefined) => Promise; cloudProviderUserInfo: (token: string) => Promise; cloudProviderReauthenticate: (params: { redirectUrl: string; nonce: string; newWindow?: boolean; callback?: any; }) => void; cloudProviderReauthenticateLink: (token: string) => Promise; cloudProviderUpdate: (params: { firmId: string; cloudProviderId: 'microsoft'; token: string; }) => Promise; statusAdminConsent: (token: string) => Promise; getAdminConsent: (params: { redirectUrl: string; domain?: string; newWindow?: boolean; callback?: any; }) => void; revokeAdminConsent: (token: string) => Promise; getLinkMap: (token: string, allUsers: boolean) => Promise; setLinkMap: (token: string, linkMap: Array) => Promise; authoriseSupport: (token: string, params: { code: string; duration: number; }) => Promise; changePassword: (params: { redirectUrl: string; newWindow?: boolean; callback?: any; }) => void; }