import { ValidationRule } from 'devextreme-angular/common'; export declare function convertFararuValidationRuleToDevExtreamRule(title: string, currentValues: T, validator: FararuDataGridValidatorInterface): ValidationRule | null; export type FararuDataGridValidatorInterface = ({ type: 'required' | 'range' | 'custom' | 'stringLength' | 'pattern' | 'async'; message?: string | ((currentValues: T) => string); } & ({ type: 'required'; } | { type: 'range'; min?: number; max?: number; } | { type: 'custom'; validationCallback: (currentValues: T, newValue: unknown) => boolean; } | { type: 'stringLength'; min?: number; max?: number; } | { type: 'pattern'; pattern: RegExp; } | { type: 'async'; validationCallback: (currentValues: T, newValue: unknown) => Promise; })); export type ValidationEventResult = { isValid: boolean; errorText: string; };