UNPKG

nowjs-core

Version:

NowCanDo Javascript Core [nowjs-core] is a library written by TypeScript code maintains under Apache 2.0 licence

18 lines (17 loc) 912 B
import { StringFormatType } from '../../utils/index'; import { PatternValidatorBase } from './index'; export declare const VALIDATOR_NSID_METADATA_KEY: unique symbol; export declare function isNSID(style?: string, errorMessage?: StringFormatType): (target: Record<string, any>, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any>) => void; export declare const PATTERN_NSID_UNIVERSAL: RegExp; export declare const PATTERN_NSID_US: RegExp; export declare const PATTERN_NSID_IR: RegExp; export declare const PATTERN_NSID_EN: RegExp; export declare const PATTERN_NSID_UE: RegExp; export declare const PATTERN_NSID_SA: RegExp; export declare const PATTERN_NSID_IQ: RegExp; export declare const PATTERN_NSID_AF: RegExp; export declare class NSIDValidator extends PatternValidatorBase { private style; constructor(style?: string, errorMessage?: StringFormatType); get Style(): string; }