type Cache = { projectId: string; items: { [key: string]: any; }; }; export type StorageSpec = { name: 'storage'; state: { cache: null | Cache; }; methods: { loadCache(projectId: string): Promise; getItem(key: string): void | T; setItem(key: string, value: T): void; }; }; export {};