import { NormalizeState } from './util/definitions'; import { DenormalizeState } from './util/definitions'; import { EntitySchemaOptions } from './util/definitions'; import { EntitySchemaInterface } from './util/definitions'; import { StructuralSchemaInterface } from './util/definitions'; import { IdAttribute } from './util/definitions'; import { Merge } from './util/definitions'; import { Entities } from './util/definitions'; export default class EntitySchema> implements EntitySchemaInterface { name: string; shape: A | null; id: IdAttribute; merge: Merge | null | undefined; constructor(name: string, options?: EntitySchemaOptions); normalize(data: unknown, entities?: Entities): NormalizeState; denormalize(denormalizeState: DenormalizeState, path?: Array): any; }