import { FieldCrudManager, ValidationError } from "../../interfaces";
import { EntityManager } from "typeorm";
export interface OneToManyRelationFieldOptions {
    required: boolean | undefined | null;
    relationCoModelSingularName: string | undefined | null;
    inverseRelationCoModelFieldName: string | undefined | null;
    modelSingularName: string | undefined | null;
    inverseFieldName: string | undefined | null;
    entityManager: EntityManager | undefined | null;
    isUpdate?: boolean;
    entityId?: number;
}
export declare class OneToManyRelationFieldCrudManager implements FieldCrudManager {
    private readonly options;
    private readonly logger;
    private readonly valueFieldName;
    private readonly idFieldName;
    private readonly commandFieldName;
    constructor(options: OneToManyRelationFieldOptions);
    validate(dto: any): ValidationError[];
    private applyValidations;
    private applyFormatValidations;
    transformForCreate(dto: any): Promise<any>;
    private transformByCommand;
    private transformForCommandClear;
    private transformForCommandSet;
    private tranformForCommandLink;
    private transformForCommandUnLink;
    private transformForCommandCreate;
    private transformForCommandUpdate;
    private transformForCommandDelete;
    private isApplyRequiredValidation;
}
//# sourceMappingURL=OneToManyRelationFieldCrudManager.d.ts.map