import Client , { EventType } from "./client" ; enum PreferenceType { USER = 0 , SITE = 1 } export default class Preferences { constructor ( client ? , preferenceType ? , eventType ? , rateLimiter ? , sizeLimit ? ) { } public preferencesValue : { [ key ] : any ; } = { } ; clear ( ) { } getAll ( ) { return this . preferencesValue ; } getForKey ( key ) { return this . preferencesValue [ key ] ; } save ( prefs ) { } }