import { ViewContainerRef } from '@angular/core';
import { FormControl, Validator } from '@angular/forms';
import { TaskMagicService } from '../../services/task.magics.service';
/**
 * Validates the field range.
 */
export declare class RangeValidatorMagicDirective implements Validator {
    protected _task: TaskMagicService;
    protected vcRef: ViewContainerRef;
    /**
     *
     * @param _task The task service
     * @param vcRef
     */
    constructor(_task: TaskMagicService, vcRef: ViewContainerRef);
    /**
     * Validation method
     * @param c FormControl to validate
     * @returns If validation fails, return error message, else returns null
     */
    validate(c: FormControl): {
        rangevalidator: {
            errorMsg: string;
        };
    };
    /**
     * @ignore
     */
    getControlName(c: FormControl): string | null;
}
