import { MaxLengthMetadata } from '../metadata';
export interface IMaxLengthDecorator<T extends MaxLengthMetadata> {
    /**
     * 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<any>): void;
}
/**
 * MaxLength decorator.
 */
export declare const MaxLength: IMaxLengthDecorator<MaxLengthMetadata>;
