import { ExternalUserReference, ExternalUserReferenceData, User, UserData } from "./types";
import { AuthenticationStateType } from "../authentication-state";
export declare function setUser(data: UserData & Partial<User>): Promise<User>;
export declare function setExternalReference(data: ExternalUserReference & ExternalUserReferenceData): Promise<ExternalUserReference>;
/**
 * Used in the case where a user was anonymous, and is being converted to a specific user type
 * @param user
 * @param externalType
 */
export declare function resetUserExpiryWithType(user: User, externalType: AuthenticationStateType): Promise<User>;
