import { TemplateData, DescriptorRelationship } from "../types/template-data.interface"; /** * Generate relationship operation DTO file content * * This generates DTOs for add/remove operations on MANY relationships: * - {Entity}{Relationship}AddItemDTO - Item with id, type, and optional meta * - {Entity}{Relationship}AddDTO - Batch add with array of items * - {Entity}{Relationship}AddSingleDataDTO - Single add data with optional meta * - {Entity}{Relationship}AddSingleDTO - Single add wrapper * - {Entity}{Relationship}RemoveItemDTO - Item with id and type * - {Entity}{Relationship}RemoveDTO - Batch remove with array of items * * @param data - Template data * @returns Generated TypeScript code, or null if no MANY relationships exist */ export declare function generateRelationshipDTOFile(data: TemplateData): string | null; /** * Get the list of MANY relationships for generating relationship endpoints */ export declare function getManyRelationships(relationships: DescriptorRelationship[]): DescriptorRelationship[]; //# sourceMappingURL=dto.relationship.template.d.ts.map