import { KibanaRequest } from './router' ; public export interface SessionStorage < T > { /**
     * Retrieves session value from the session storage.
     */ get ( ) : Promise < T | null > ; param sessionValue set ( sessionValue ) : void ; /**
     * Clears current session.
     */ clear ( ) : void ; } public export interface SessionStorageFactory < T > { asScoped : ( request : KibanaRequest ) => SessionStorage < T > ; }