declare namespace ntt { type KeyArray = Array; type KeyType = number | string; type EntityModel = Omit; type EntityKey = Pick; type PropertyType = P; type ComplexPropertyType = P; type ValuePropertyType = P; interface IStore { scope: 'global' | 'individual' | 'network' | 'organization' | 'region'; target: string; create: (model: T) => Promise; destroy: (key: Pick) => Promise; discard: (key: Pick) => Promise; retrieve: (key: Pick) => Promise; update: (model: Partial, key: Pick) => Promise; } }