import { IdTokenClaims, User as OIDCUser, UserManagerSettings } from 'oidc-client-ts'; import { Configuration as ApiConfiguration } from './typescript-angular/configuration'; import { User } from './typescript-angular/model/user'; import { TokensServiceInterface } from './typescript-angular'; export declare function apiConfigFactory(): ApiConfiguration; export interface LoginArgs { redirectURI: string; } export interface LoginCallbackArgs { defaultRedirect: string; } export interface OptionalAuthArgs { useSessionStorage?: boolean; isPopup?: boolean; explicitLogin?: boolean; redirect?: string; postLoginCallback?: (args: LoginCallbackArgs) => void; } export interface FederatedClaims { connector_id: string | null; } export interface IdTokenClaimsExtended extends IdTokenClaims { federated_claims: FederatedClaims; } declare class _Auth { private tokens; private manager; private client_id; private _issuer; private scopes; private redirectUri; private _user?; private storage; private marshaled_user?; private perOrgTokens; private currentOrgId; private accessTokenThresholdSeconds; private renewedUser$?; private scopesList; authArgs?: OptionalAuthArgs; getClientSettings(client_id?: string, issuer?: string, scopes?: string, optionalArgs?: OptionalAuthArgs): UserManagerSettings; private _setUser; private _unsetUser; constructor(tokens: TokensServiceInterface, client_id?: string, issuer?: string, scopes?: string, optionalArgs?: OptionalAuthArgs); private ensureLogin; marshallUser(): User | null; login(args?: LoginArgs): Promise; loginWithPopup(): Promise; user(): Promise; scopesMismatch(oidcUser: OIDCUser | null): boolean; renewUser(): Promise; renewToken(): Promise; opSignout(redirectURI: string): Promise; logout(redirectURI?: string, localOnly?: boolean): Promise; email(): string | null | undefined; name(): string | null | undefined; connector(): string | null; access_token(): string | undefined; access_token_async(): Promise; id_token(): string | null | undefined; _field(field_name: string): any | null; id(): string | null; org(): string | undefined; oidc_issuer(): Promise; issuer(): string; _reissue_token(org_id: string, token: string): Promise; _renew_tokens(): Promise; switch_org(org_id: string): Promise; } export { _Auth };