import { KeyValue } from 'ngrx-forms'; import { DxFormGroup } from '../form-group'; import { Without } from '@digitaix/types'; export declare type ValidatorResult = KeyValue | string | null; export declare type ValidatorError = KeyValue | string; export declare function Validator(controlId: keyof Without>, validatorErrorTemplate?: string): (target: Partial>>, propertyKey: string, descriptor: TypedPropertyDescriptor) => void;