import { FieldCrudManager, ValidationError } from "../../interfaces";
import { EntityManager } from "typeorm";
export interface ManyToOneRelationFieldOptions {
    required: boolean | undefined | null;
    relationCoModelSingularName: string | undefined | null;
    fieldName: string | undefined | null;
    modelSingularName: string | undefined | null;
    entityManager: EntityManager;
    relationCoModelUserKeyFieldName: string | undefined | null;
}
export declare class ManyToOneRelationFieldCrudManager implements FieldCrudManager {
    private readonly options;
    private idFieldName;
    private userKeyFieldName;
    constructor(options: ManyToOneRelationFieldOptions);
    validate(dto: any): ValidationError[];
    private applyValidations;
    private applyIdFormatValidations;
    private applyUserKeyFormatValidations;
    transformForCreate(dto: any): Promise<any>;
    private isApplyRequiredValidation;
}
//# sourceMappingURL=ManyToOneRelationFieldCrudManager.d.ts.map