import type { Schema } from '@strapi/types';
type RelationAttribute = Schema.Attribute.Relation & {
    target?: string;
    inversedBy?: string;
    mappedBy?: string;
};
export interface DraftRelationCounts {
    unpublishedRelations: number;
    draftM2mLinks: number;
}
export declare const EMPTY_DRAFT_RELATION_COUNTS: DraftRelationCounts;
/**
 * Bidirectional manyToMany links share a join-table row and are kept on publish; they become
 * visible on the live site once the related entry is published. xToOne-style links are stripped.
 */
export declare const isBidirectionalManyToMany: (attribute: RelationAttribute) => boolean;
export declare const mergeDraftRelationCounts: (left: DraftRelationCounts, right: DraftRelationCounts) => DraftRelationCounts;
export {};
//# sourceMappingURL=draft-relations.d.ts.map