interface MastodonMap { get(key: K): T[K]; has(key: K): boolean; set(key: K, value: T[K]): this; } type AccountValues = { id: number; avatar: string; avatar_static: string; [key: string]: any; } export type Account = MastodonMap