// Key/value persistence backed by the host. Same shape as the web localStorage subset projects use.

export const localStorage = {
  getItem(key: string): string | null {
    return _creatorUtils.localStorageGetValue(key)
  },
  setItem(key: string, value: string): void {
    _creatorUtils.localStorageSetValue(key, value)
  },
  removeItem(key: string): void {
    _creatorUtils.localStorageRemoveValue(key)
  },
}
