import type { EntityId, EntityState } from '../entity.types'; /** * Returns the entity for a given id, if no id is provided it returns the first entity. * * @param id Optional entity id. * @return Entity represented by the id, or the first entity. */ export declare const getDefaultedEntity: (id?: EntityId) => (state: EntityState) => EntityType | undefined;