export declare function MaxLength(length: number, errorMessage?: string): (target: Object, property: string | symbol) => void; export declare function hasMaxLength(instance: T, property: keyof T): boolean; export declare function getMaxLengthModel(instance: T, property: keyof T): { maxLength: number; errorMessage: string; } | null;