packageDocumentation module public export interface UiStateStorage { getSetting ( settingNamespace , settingName ) : Promise < UiStateStorageResult > ; saveSetting ( settingNamespace , settingName , setting ) : Promise < UiStateStorageResult > ; deleteSetting ( settingNamespace , settingName ) : Promise < UiStateStorageResult > ; } public export enum UiStateStorageStatus { Success = 0 , NotFound = 1 , UnknownError = 2 , Uninitialized = 3 , AuthorizationError = 4 } public export interface UiStateStorageResult { status : UiStateStorageStatus ; setting ? : any ; }