import type { LoadedStrapi as Strapi, Common, EntityService } from '@strapi/types'; export type Entity = EntityService.Result; type Body = EntityService.Params.Data.Input; type EntityManager = (opts: { strapi: Strapi; }) => { mapEntity(entity: T): T; mapEntitiesResponse(entities: any, uid: Common.UID.ContentType): any; find(opts: Parameters[1], uid: Common.UID.ContentType): Promise>; findPage(opts: Parameters[1], uid: Common.UID.ContentType): Promise>; findOne(id: Entity['id'], uid: Common.UID.ContentType, opts?: any): Promise; create(body: Body, uid: Common.UID.ContentType): Promise; update(entity: Entity, body: Partial, uid: Common.UID.ContentType): Promise; clone(entity: Entity, body: Partial, uid: Common.UID.ContentType): Promise; delete(entity: Entity, uid: Common.UID.ContentType): Promise; deleteMany(opts: Parameters[1], uid: Common.UID.ContentType): Promise<{ count: number; } | null>; publish(entity: Entity, uid: Common.UID.ContentType, body?: any): Promise; publishMany(entities: Entity[], uid: Common.UID.ContentType): Promise<{ count: number; } | null>; unpublish(entity: Entity, uid: Common.UID.ContentType, body?: any): Promise; unpublishMany(entities: Entity[], uid: Common.UID.ContentType): Promise<{ count: number; } | null>; countDraftRelations(id: Entity['id'], uid: Common.UID.ContentType): Promise; countManyEntriesDraftRelations(ids: number[], uid: Common.UID.ContentType, locale?: string): Promise; }; declare const entityManager: EntityManager; export default entityManager; export type { EntityManager }; //# sourceMappingURL=entity-manager.d.ts.map