import { UserManagerSettings, User } from 'oidc-client-ts'; import { OidcClientProps, OidcClient, UserReturnType } from './index'; /** * Returns the session storage key for the user data. * @param settings * @returns string */ export declare const getUserStoreKey: (settings: Partial) => string; /** * Gets user data from storage * @param settings * @param storage * @returns */ export declare const getUserFromStorage: (settings: Pick, sourceStorage?: Storage) => UserReturnType; /** * Checks is the user expired. Reads the expired and expires_at properties of the User object * @param user * @returns */ export declare const isUserExpired: (user?: Partial | null) => boolean; /** * Returns true, if user is not expired and has an access token * @param user * @returns */ export declare const isValidUser: (user?: User | null) => boolean; /** * * @param user * @param tokenType * @returns */ export declare const pickUserToken: (user: UserReturnType, tokenType: Parameters[0]) => string; export declare function createOidcClient(props: OidcClientProps): OidcClient;