import type { Core, UID } from '@strapi/types';
import { type DraftRelationCounts } from './draft-relations';
/**
 * sumDraftCounts works recursively on the attributes of a model counting draft relations
 * that matter for publish warnings.
 *
 * - unpublishedRelations: xToOne / oneToMany style links stripped from the published version
 * - draftM2mLinks: bidirectional manyToMany links to documents without a published version
 */
declare const sumDraftCounts: (strapi: Core.Strapi, entity: any, uid: UID.Schema) => Promise<DraftRelationCounts>;
export { sumDraftCounts };
//# sourceMappingURL=draft.d.ts.map