import { ValidationOptions } from 'class-validator'; import { CountryCode } from 'libphonenumber-js'; import { BaseDecoratorOptions } from '../types'; declare type PhoneNumberValidationOptions = { allowedCountries?: CountryCode[]; }; export declare function isValidPhoneNumber(value: string, options: PhoneNumberValidationOptions): boolean; export declare function IsValidPhoneNumber(validationOptions?: ValidationOptions & PhoneNumberValidationOptions): PropertyDecorator; declare type PropertyPhoneNumberParams = BaseDecoratorOptions & PhoneNumberValidationOptions; export declare function ApiPropertyPhoneNumber({ isOptional, allowedCountries, ...options }?: PropertyPhoneNumberParams): PropertyDecorator; export {};