export default abstract class FileStorage { /** * Retrieves the file storage path * * @private */ static get path(): string; /** * Sets the file storage path * * @param value * @private */ static set path(value: string); /** * Retrieves the underlying key ID for the specified key * * @param key */ static id(key: KeyType): string; /** * Retrieves an item from file storage * * @param key * @param noThrow */ static getItem(key: KeyType, noThrow?: boolean): ValueType | undefined; /** * Sets the scope of the local storage on disk * * This prevents other applications using this library from stomping on the storage of others * * Note: For scope to apply, must be called before all other calls * * @param scope */ static domain(scope: string): void; /** * Sets an item in file storage * * @param key * @param value */ static setItem(key: KeyType, value: ValueType): void; /** * Removes an item from file storage * * @param key */ static removeItem(key: KeyType): void; /** * Clears the file storage */ static clear(): void; }