import { PropertyData, PropertyParser } from '../types';
interface PropertyDecoratorCustomData<T> extends PropertyData<T> {
    /**
     * Property parser to use. Used to parse the value to the correct type.
     */
    readonly parser: PropertyParser<T>;
}
/**
 * @deprecated Use `field.custom()` inside `defineDto()` instead.
 * The decorator API will be removed in the next major version (v2).
 * @see https://github.com/andrei-trukhin/bookish-potato-dto-issues/blob/main/MIGRATION.md
 */
export declare function CustomProperty<T>(data: PropertyDecoratorCustomData<T>): (target: any, propertyKey: string) => void;
export {};
