import * as i0 from '@angular/core'; import * as i1 from '@angular/common'; import { Validator, AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms'; import { NxFormfieldComponent } from '@aposin/ng-aquila/formfield'; /** * Type of supported license plates. */ type NxLicencePlateType = 'de_standard' | 'de_season' | 'de_special' | 'other' | 'euro'; /** * Licence plate validator. * Supports validation for german standard and special plate numbers. * Choose `other` to allow all values. */ declare function nxLicensePlateValidator(type: NxLicencePlateType): ValidatorFn; declare class NxLicencePlateValidatorDirective implements Validator { /** * Licence plate type. * Supports validation for german standard and special plate numbers. * Choose `other` to allow all values. */ type: NxLicencePlateType; validate(control: AbstractControl): ValidationErrors | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Euro country prefix for the licence plate input. */ declare class NxLicencePlateEuroPrefixComponent { private readonly _formField; constructor(_formField: NxFormfieldComponent); get _disabled(): boolean; get _hasOutline(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Suffix for seasonal licence plate inputs. */ declare class NxLicencePlateSeasonSuffixComponent { private readonly _formField; /** * Start month of the licence plate. */ startMonth: number; /** * End month of the licence plate. */ endMonth: number; get _disabled(): boolean; get _hasOutline(): boolean; constructor(_formField: NxFormfieldComponent); _format(value: number): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxLicencePlateModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NxLicencePlateEuroPrefixComponent, NxLicencePlateModule, NxLicencePlateSeasonSuffixComponent, NxLicencePlateValidatorDirective, nxLicensePlateValidator }; export type { NxLicencePlateType };