import type { AfterViewInit, OnDestroy } from '@angular/core'; import { ElementRef, EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { ScanFormType } from '@axrl/ngx-extended-form-builder'; import * as i0 from "@angular/core"; export interface VerificationCodeConfig { 'primary-text-color': string; 'secondary-color': string; } /** * Alias-тип, описывающий множество цифр. */ type Digits = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; /** * Интерфейс полей формы для ввода четырехзначного кода пордтверждения */ type CodeControl = `${Digits}` | '' | null; export declare class VerificationCodeComponent implements OnDestroy, AfterViewInit, OnChanges, ControlValueAccessor { private _elementRef; private _config; private _value; form: ScanFormType | undefined; readonly valueChanges: EventEmitter; set value(val: string); get value(): string; inputs: QueryList> | undefined; codeLength: number | undefined; isLoading: boolean | null | undefined; set config(cfg: VerificationCodeConfig); get config(): VerificationCodeConfig | undefined; constructor(_elementRef: ElementRef); ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; _onChange(_: any): void; _onTouched(): void; writeValue(value: string): void; registerOnChange(fn: (_: string) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; isDigit(item: string): item is `${Digits}`; verifyCodeKeyPress(event: InputEvent, currentInputName: number, actionBtnBlock: HTMLParagraphElement): void; focusSubmit(nextInput: HTMLElement): void; pasteCode(event: ClipboardEvent): void; submit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};