import Service from '@ember/service'; type FakeWebStorage = Record; /** * Mimics the Web Storage API, as used by localStorage and sessionStorage. * */ declare class FakeWebStorageService extends Service { fakeWebStorage: FakeWebStorage; setItem(key: string, value: string): void; getItem(key: string): string | null; removeItem(key: string): void; clear(): void; } declare class FakeLocalStorageService extends FakeWebStorageService { } declare class FakeSessionStorageService extends FakeWebStorageService { } export { FakeLocalStorageService, FakeSessionStorageService };