import { Entity } from '@dcl/schemas/dist/platform/entity'; import { Profile } from '@dcl/schemas/dist/platform/profile'; declare module 'react-intl'; export type ProfileEntity = Omit & { metadata: Profile; }; export interface DataByKey { [key: string]: T; } export interface Model extends Object { id: string; } export interface AddressModel extends Object { address: string; } export type ModelById = DataByKey; export type ModelByAddress = DataByKey; export type Omit = Pick>; export type Overwrite = Pick> & T2; export interface Migrations { [key: string]: (data: T) => T; } export interface LocalStorage { getItem: (key?: string) => string | null; setItem: (key?: string, value?: string) => void | null; removeItem: (key?: string) => void | null; } export type StorageOwnData = { storage: { version: number; }; }; export type FetchProfileOptions = { useCache?: boolean; };