import { IFilterInfo } from "../IFilter" ; category export interface IStorageProvider { param { string } token returns { Promise < any > | void } setSyncToken ( token ) : Promise < any > | void ; returns { String | Promise < String > } getSyncToken ( ) : string | Promise < string | null > | null ; param { IFilterInfo } filter returns { Promise < any > | void } setFilter ( filter ) : Promise < any > | void ; returns { IFilterInfo | Promise < IFilterInfo > } getFilter ( ) : IFilterInfo | Promise < IFilterInfo > ; param { string } key param { string } value returns { Promise < any > | void } storeValue ( key , value ) : Promise < any > | void ; param { string } key returns { string | Promise < string | null | undefined > | null | undefined } readValue ( key ) : string | Promise < string | null | undefined > | null | undefined ; }