import { ValidatorConstraintInterface } from "class-validator"; import { CountryCode3 } from "./country-code3.ntype"; declare const CountryCode2_base: (abstract new (value: any) => { readonly "__#2@#_nominalType": "country-code"; readonly value: any; toString(): any; toJSON(): any; isIdentical(value: any): boolean; }) & { readonly apiPropertyOptions: import("@nestjs/swagger").ApiPropertyOptions; getOrmType(): import("@mikro-orm/core").Constructor>; getValidator(): import("@mikro-orm/core").Constructor; getResourceDecorators(...args: any[]): (target: object | TFunction, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor) => void; getPipe(): import("@nestjs/common").PipeTransform; createInstance(this: new (...args: any[]) => T, ...args: any[]): T; }; /** * Represents a two-letter country code (ISO 3166-1 alpha-2). * * @class * @extends NType */ export declare class CountryCode2 extends CountryCode2_base { _nominalType: string; /** * Returns the name of the country. * * @returns {CountryCode3} The name of the country. */ toName(): CountryCode3; /** * Returns the number of the country. * * @returns {CountryCode3} The number of the country. */ toNumber(): CountryCode3; /** * Returns the three-letter country code. * * @returns {CountryCode3} The three-letter country code. */ toCode3(): CountryCode3; } export {};