import { ValidatorFn } from '@angular/forms';
import { InputMetadata } from '../../types';
export declare const maxLength: (field: string, max: number) => {
    validator: ValidatorFn;
    error: string;
};
export declare const createNumberFromToField: (name: string, label: string, fromLabel: string, toLabel: string, options?: {
    fromPlaceholder?: string;
    toPlaceholder?: string;
    hint?: string;
    range?: {
        min: number;
        max: number;
    };
    validators?: ValidatorFn[];
    order?: number;
}) => InputMetadata;
