import { MaxLengthMetadata } from '../metadata'; export interface IMaxLengthDecorator { /** * MaxLength decorator */ (MaxLength?: number, errorMessage?: string, dbtype?: string, dbfield?: string): PropertyDecorator; /** * MaxLength decorator with metadata map. * @param {T} [metadata] define matadata map to resolve value to the property. */ (metadata?: T): PropertyDecorator; /** * MaxLength decorator. */ (target: object, propertyKey: string | symbol, descriptor?: TypedPropertyDescriptor): void; } /** * MaxLength decorator. */ export declare const MaxLength: IMaxLengthDecorator;