import { InjectionToken } from '@angular/core'; import { SocialUser } from 'angularx-social-login'; import { UserServiceConfig } from '@relevance/angular-core'; import { IUser, IProfile } from '@relevance/core'; /** * Interface for the search service configuration. */ export interface AccountServiceConfig { userConfig: UserServiceConfig; redirectPath?: string; storageEngine?: 'sessionStorage' | 'localStorage'; storagePrefix?: string; facebookId?: string; googleId?: string; } /** * This injection token can be used to inject the account configuration. */ export declare const ACCOUNT_CONFIG: InjectionToken; /** * This factory provides the anonymous user object. */ export declare type AnonymousUserFactory = () => U; /** * This injection token can be used to inject the query API c */ export declare const ANONYMOUS_USER: InjectionToken>; /** * This factory provides a profile object based on a social user object. */ export declare type SocialUserProfileFactory

= (socialUser: SocialUser) => P; /** * This injection token can be used to inject the query API c */ export declare const SOCIAL_USER_PROFILE: InjectionToken>;