import { ApolloError } from 'apollo-client' ; import { Observable } from 'rxjs' ; import { SignInPayload } from '@medium-stories/entities' ; /**
 * Auth facade
 */ export abstract class AuthFacade { /**
     * Observed sign in
     */ signIn$ : Observable < SignInPayload > ; /**
     * Observed sign in error
     */ signInError$ : Observable < ApolloError > ; /**
     * Observed sign in run
     */ signInRun$ : Observable < boolean > ; /**
     * Observed sign out error
     */ signOutError$ : Observable < ApolloError > ; /**
     * Observed sign out run
     */ signOutRun$ : Observable < boolean > ; param force abstract signIn ( force ? ) ; /**
     * Set sign in payload
     */ abstract signInSet ( payload ) ; /**
     * Clear sign in payload
     */ abstract signInClear ( ) ; param force abstract signOut ( force ? ) ; }