/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { CountryData } from "./data/european-countries"; import { PhoneValidationError } from "./components/flow/sms-send/sms-send"; export { CountryData } from "./data/european-countries"; export { PhoneValidationError } from "./components/flow/sms-send/sms-send"; export namespace Components { interface AgreementInfo { } interface AgreementView { "agreementType": string; } interface CameraError { } interface CaptureError { "error": string; "reason": string; "type": string; } interface CitizenshipSelection { } interface CountrySelector { "allowedCountries"?: string[] | null; "disabled": boolean; "searchPlaceholder": string; "selectedCode": string; } interface EndRedirect { } interface ErrorEnd { "errorTitle": string; "message": string; } interface HowToInfo { } interface IdAutoCapture { "captureMode": string; } interface IdCaptureConfirm { "capture": File; } interface IdSelection { } interface IdentificationComponent { "analytics": boolean; "api_url": string; "citizenship": string; "env": string; "lang_iso": string; "order_id": string; "phone_number": string; "redirect_id": string; "scroll_mode": boolean; "show_citizenship_selector": boolean; "token": string; } interface LandingValidation { } interface LoaderDots { } interface MobileRedirect { } interface ProcessId { "mode": string; } interface RandomAction { } interface RandomActions { } interface SelfieAutoCapture { } interface SmsCodeValidation { } interface SmsSend { /** * Array of allowed country codes (ISO 3166-1 alpha-2). If provided, only these countries will be shown in the dropdown. If null/undefined, all European countries are available. Example: ["RO", "MD", "BG"] */ "allowedPhoneCountries"?: string[] | null; /** * Default country code to use as fallback when IP detection fails. If not provided, defaults to "RO" (Romania). */ "defaultCountry": string; /** * Phone number passed to the component at initialization. Can include country prefix (e.g., "+40712345678") or be without prefix. */ "initialPhoneNumber"?: string; } interface StateTransition { } interface UploadingData { "type": string; } interface UserLiveness { "mode": string; } } export interface AgreementInfoCustomEvent extends CustomEvent { detail: T; target: HTMLAgreementInfoElement; } export interface AgreementViewCustomEvent extends CustomEvent { detail: T; target: HTMLAgreementViewElement; } export interface CameraErrorCustomEvent extends CustomEvent { detail: T; target: HTMLCameraErrorElement; } export interface CaptureErrorCustomEvent extends CustomEvent { detail: T; target: HTMLCaptureErrorElement; } export interface CitizenshipSelectionCustomEvent extends CustomEvent { detail: T; target: HTMLCitizenshipSelectionElement; } export interface CountrySelectorCustomEvent extends CustomEvent { detail: T; target: HTMLCountrySelectorElement; } export interface EndRedirectCustomEvent extends CustomEvent { detail: T; target: HTMLEndRedirectElement; } export interface HowToInfoCustomEvent extends CustomEvent { detail: T; target: HTMLHowToInfoElement; } export interface IdAutoCaptureCustomEvent extends CustomEvent { detail: T; target: HTMLIdAutoCaptureElement; } export interface IdCaptureConfirmCustomEvent extends CustomEvent { detail: T; target: HTMLIdCaptureConfirmElement; } export interface IdSelectionCustomEvent extends CustomEvent { detail: T; target: HTMLIdSelectionElement; } export interface LandingValidationCustomEvent extends CustomEvent { detail: T; target: HTMLLandingValidationElement; } export interface MobileRedirectCustomEvent extends CustomEvent { detail: T; target: HTMLMobileRedirectElement; } export interface ProcessIdCustomEvent extends CustomEvent { detail: T; target: HTMLProcessIdElement; } export interface SelfieAutoCaptureCustomEvent extends CustomEvent { detail: T; target: HTMLSelfieAutoCaptureElement; } export interface SmsCodeValidationCustomEvent extends CustomEvent { detail: T; target: HTMLSmsCodeValidationElement; } export interface SmsSendCustomEvent extends CustomEvent { detail: T; target: HTMLSmsSendElement; } export interface UserLivenessCustomEvent extends CustomEvent { detail: T; target: HTMLUserLivenessElement; } declare global { interface HTMLAgreementInfoElementEventMap { "apiError": any; } interface HTMLAgreementInfoElement extends Components.AgreementInfo, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLAgreementInfoElement, ev: AgreementInfoCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAgreementInfoElement, ev: AgreementInfoCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLAgreementInfoElement: { prototype: HTMLAgreementInfoElement; new (): HTMLAgreementInfoElement; }; interface HTMLAgreementViewElementEventMap { "apiError": any; "atBottom": any; } interface HTMLAgreementViewElement extends Components.AgreementView, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLAgreementViewElement, ev: AgreementViewCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAgreementViewElement, ev: AgreementViewCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLAgreementViewElement: { prototype: HTMLAgreementViewElement; new (): HTMLAgreementViewElement; }; interface HTMLCameraErrorElementEventMap { "apiError": any; } interface HTMLCameraErrorElement extends Components.CameraError, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCameraErrorElement, ev: CameraErrorCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLCameraErrorElement, ev: CameraErrorCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLCameraErrorElement: { prototype: HTMLCameraErrorElement; new (): HTMLCameraErrorElement; }; interface HTMLCaptureErrorElementEventMap { "captureErrorDone": any; } interface HTMLCaptureErrorElement extends Components.CaptureError, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCaptureErrorElement, ev: CaptureErrorCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLCaptureErrorElement, ev: CaptureErrorCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLCaptureErrorElement: { prototype: HTMLCaptureErrorElement; new (): HTMLCaptureErrorElement; }; interface HTMLCitizenshipSelectionElementEventMap { "apiError": any; } interface HTMLCitizenshipSelectionElement extends Components.CitizenshipSelection, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCitizenshipSelectionElement, ev: CitizenshipSelectionCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLCitizenshipSelectionElement, ev: CitizenshipSelectionCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLCitizenshipSelectionElement: { prototype: HTMLCitizenshipSelectionElement; new (): HTMLCitizenshipSelectionElement; }; interface HTMLCountrySelectorElementEventMap { "countrySelected": CountryData; } interface HTMLCountrySelectorElement extends Components.CountrySelector, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCountrySelectorElement, ev: CountrySelectorCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLCountrySelectorElement, ev: CountrySelectorCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLCountrySelectorElement: { prototype: HTMLCountrySelectorElement; new (): HTMLCountrySelectorElement; }; interface HTMLEndRedirectElementEventMap { "apiError": any; } interface HTMLEndRedirectElement extends Components.EndRedirect, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLEndRedirectElement, ev: EndRedirectCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLEndRedirectElement, ev: EndRedirectCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLEndRedirectElement: { prototype: HTMLEndRedirectElement; new (): HTMLEndRedirectElement; }; interface HTMLErrorEndElement extends Components.ErrorEnd, HTMLStencilElement { } var HTMLErrorEndElement: { prototype: HTMLErrorEndElement; new (): HTMLErrorEndElement; }; interface HTMLHowToInfoElementEventMap { "apiError": any; } interface HTMLHowToInfoElement extends Components.HowToInfo, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLHowToInfoElement, ev: HowToInfoCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLHowToInfoElement, ev: HowToInfoCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLHowToInfoElement: { prototype: HTMLHowToInfoElement; new (): HTMLHowToInfoElement; }; interface HTMLIdAutoCaptureElementEventMap { "photoIdCapture": any; "recordingIdCapture": any; "timeElapsed": any; } interface HTMLIdAutoCaptureElement extends Components.IdAutoCapture, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLIdAutoCaptureElement, ev: IdAutoCaptureCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLIdAutoCaptureElement, ev: IdAutoCaptureCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLIdAutoCaptureElement: { prototype: HTMLIdAutoCaptureElement; new (): HTMLIdAutoCaptureElement; }; interface HTMLIdCaptureConfirmElementEventMap { "idCaptureConfirmation": any; "idCaptureRetry": any; } interface HTMLIdCaptureConfirmElement extends Components.IdCaptureConfirm, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLIdCaptureConfirmElement, ev: IdCaptureConfirmCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLIdCaptureConfirmElement, ev: IdCaptureConfirmCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLIdCaptureConfirmElement: { prototype: HTMLIdCaptureConfirmElement; new (): HTMLIdCaptureConfirmElement; }; interface HTMLIdSelectionElementEventMap { "apiError": any; } interface HTMLIdSelectionElement extends Components.IdSelection, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLIdSelectionElement, ev: IdSelectionCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLIdSelectionElement, ev: IdSelectionCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLIdSelectionElement: { prototype: HTMLIdSelectionElement; new (): HTMLIdSelectionElement; }; interface HTMLIdentificationComponentElement extends Components.IdentificationComponent, HTMLStencilElement { } var HTMLIdentificationComponentElement: { prototype: HTMLIdentificationComponentElement; new (): HTMLIdentificationComponentElement; }; interface HTMLLandingValidationElementEventMap { "apiError": any; } interface HTMLLandingValidationElement extends Components.LandingValidation, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLLandingValidationElement, ev: LandingValidationCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLLandingValidationElement, ev: LandingValidationCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLLandingValidationElement: { prototype: HTMLLandingValidationElement; new (): HTMLLandingValidationElement; }; interface HTMLLoaderDotsElement extends Components.LoaderDots, HTMLStencilElement { } var HTMLLoaderDotsElement: { prototype: HTMLLoaderDotsElement; new (): HTMLLoaderDotsElement; }; interface HTMLMobileRedirectElementEventMap { "apiError": any; } interface HTMLMobileRedirectElement extends Components.MobileRedirect, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLMobileRedirectElement, ev: MobileRedirectCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLMobileRedirectElement, ev: MobileRedirectCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLMobileRedirectElement: { prototype: HTMLMobileRedirectElement; new (): HTMLMobileRedirectElement; }; interface HTMLProcessIdElementEventMap { "apiError": any; } interface HTMLProcessIdElement extends Components.ProcessId, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLProcessIdElement, ev: ProcessIdCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLProcessIdElement, ev: ProcessIdCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLProcessIdElement: { prototype: HTMLProcessIdElement; new (): HTMLProcessIdElement; }; interface HTMLRandomActionElement extends Components.RandomAction, HTMLStencilElement { } var HTMLRandomActionElement: { prototype: HTMLRandomActionElement; new (): HTMLRandomActionElement; }; interface HTMLRandomActionsElement extends Components.RandomActions, HTMLStencilElement { } var HTMLRandomActionsElement: { prototype: HTMLRandomActionsElement; new (): HTMLRandomActionsElement; }; interface HTMLSelfieAutoCaptureElementEventMap { "recordingSelfieCapture": any; "photoSelfieCapture": any; "apiError": any; "timeElapsed": any; } interface HTMLSelfieAutoCaptureElement extends Components.SelfieAutoCapture, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSelfieAutoCaptureElement, ev: SelfieAutoCaptureCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSelfieAutoCaptureElement, ev: SelfieAutoCaptureCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSelfieAutoCaptureElement: { prototype: HTMLSelfieAutoCaptureElement; new (): HTMLSelfieAutoCaptureElement; }; interface HTMLSmsCodeValidationElementEventMap { "apiError": any; } interface HTMLSmsCodeValidationElement extends Components.SmsCodeValidation, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSmsCodeValidationElement, ev: SmsCodeValidationCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSmsCodeValidationElement, ev: SmsCodeValidationCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSmsCodeValidationElement: { prototype: HTMLSmsCodeValidationElement; new (): HTMLSmsCodeValidationElement; }; interface HTMLSmsSendElementEventMap { "apiError": any; "validationError": PhoneValidationError; "phoneNumberChanged": string; } interface HTMLSmsSendElement extends Components.SmsSend, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSmsSendElement, ev: SmsSendCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSmsSendElement, ev: SmsSendCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSmsSendElement: { prototype: HTMLSmsSendElement; new (): HTMLSmsSendElement; }; interface HTMLStateTransitionElement extends Components.StateTransition, HTMLStencilElement { } var HTMLStateTransitionElement: { prototype: HTMLStateTransitionElement; new (): HTMLStateTransitionElement; }; interface HTMLUploadingDataElement extends Components.UploadingData, HTMLStencilElement { } var HTMLUploadingDataElement: { prototype: HTMLUploadingDataElement; new (): HTMLUploadingDataElement; }; interface HTMLUserLivenessElementEventMap { "apiError": any; } interface HTMLUserLivenessElement extends Components.UserLiveness, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLUserLivenessElement, ev: UserLivenessCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLUserLivenessElement, ev: UserLivenessCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLUserLivenessElement: { prototype: HTMLUserLivenessElement; new (): HTMLUserLivenessElement; }; interface HTMLElementTagNameMap { "agreement-info": HTMLAgreementInfoElement; "agreement-view": HTMLAgreementViewElement; "camera-error": HTMLCameraErrorElement; "capture-error": HTMLCaptureErrorElement; "citizenship-selection": HTMLCitizenshipSelectionElement; "country-selector": HTMLCountrySelectorElement; "end-redirect": HTMLEndRedirectElement; "error-end": HTMLErrorEndElement; "how-to-info": HTMLHowToInfoElement; "id-auto-capture": HTMLIdAutoCaptureElement; "id-capture-confirm": HTMLIdCaptureConfirmElement; "id-selection": HTMLIdSelectionElement; "identification-component": HTMLIdentificationComponentElement; "landing-validation": HTMLLandingValidationElement; "loader-dots": HTMLLoaderDotsElement; "mobile-redirect": HTMLMobileRedirectElement; "process-id": HTMLProcessIdElement; "random-action": HTMLRandomActionElement; "random-actions": HTMLRandomActionsElement; "selfie-auto-capture": HTMLSelfieAutoCaptureElement; "sms-code-validation": HTMLSmsCodeValidationElement; "sms-send": HTMLSmsSendElement; "state-transition": HTMLStateTransitionElement; "uploading-data": HTMLUploadingDataElement; "user-liveness": HTMLUserLivenessElement; } } declare namespace LocalJSX { interface AgreementInfo { "onApiError"?: (event: AgreementInfoCustomEvent) => void; } interface AgreementView { "agreementType"?: string; "onApiError"?: (event: AgreementViewCustomEvent) => void; "onAtBottom"?: (event: AgreementViewCustomEvent) => void; } interface CameraError { "onApiError"?: (event: CameraErrorCustomEvent) => void; } interface CaptureError { "error"?: string; "onCaptureErrorDone"?: (event: CaptureErrorCustomEvent) => void; "reason"?: string; "type"?: string; } interface CitizenshipSelection { "onApiError"?: (event: CitizenshipSelectionCustomEvent) => void; } interface CountrySelector { "allowedCountries"?: string[] | null; "disabled"?: boolean; "onCountrySelected"?: (event: CountrySelectorCustomEvent) => void; "searchPlaceholder"?: string; "selectedCode"?: string; } interface EndRedirect { "onApiError"?: (event: EndRedirectCustomEvent) => void; } interface ErrorEnd { "errorTitle"?: string; "message"?: string; } interface HowToInfo { "onApiError"?: (event: HowToInfoCustomEvent) => void; } interface IdAutoCapture { "captureMode"?: string; "onPhotoIdCapture"?: (event: IdAutoCaptureCustomEvent) => void; "onRecordingIdCapture"?: (event: IdAutoCaptureCustomEvent) => void; "onTimeElapsed"?: (event: IdAutoCaptureCustomEvent) => void; } interface IdCaptureConfirm { "capture"?: File; "onIdCaptureConfirmation"?: (event: IdCaptureConfirmCustomEvent) => void; "onIdCaptureRetry"?: (event: IdCaptureConfirmCustomEvent) => void; } interface IdSelection { "onApiError"?: (event: IdSelectionCustomEvent) => void; } interface IdentificationComponent { "analytics"?: boolean; "api_url"?: string; "citizenship"?: string; "env"?: string; "lang_iso"?: string; "order_id"?: string; "phone_number"?: string; "redirect_id"?: string; "scroll_mode"?: boolean; "show_citizenship_selector"?: boolean; "token"?: string; } interface LandingValidation { "onApiError"?: (event: LandingValidationCustomEvent) => void; } interface LoaderDots { } interface MobileRedirect { "onApiError"?: (event: MobileRedirectCustomEvent) => void; } interface ProcessId { "mode"?: string; "onApiError"?: (event: ProcessIdCustomEvent) => void; } interface RandomAction { } interface RandomActions { } interface SelfieAutoCapture { "onApiError"?: (event: SelfieAutoCaptureCustomEvent) => void; "onPhotoSelfieCapture"?: (event: SelfieAutoCaptureCustomEvent) => void; "onRecordingSelfieCapture"?: (event: SelfieAutoCaptureCustomEvent) => void; "onTimeElapsed"?: (event: SelfieAutoCaptureCustomEvent) => void; } interface SmsCodeValidation { "onApiError"?: (event: SmsCodeValidationCustomEvent) => void; } interface SmsSend { /** * Array of allowed country codes (ISO 3166-1 alpha-2). If provided, only these countries will be shown in the dropdown. If null/undefined, all European countries are available. Example: ["RO", "MD", "BG"] */ "allowedPhoneCountries"?: string[] | null; /** * Default country code to use as fallback when IP detection fails. If not provided, defaults to "RO" (Romania). */ "defaultCountry"?: string; /** * Phone number passed to the component at initialization. Can include country prefix (e.g., "+40712345678") or be without prefix. */ "initialPhoneNumber"?: string; "onApiError"?: (event: SmsSendCustomEvent) => void; /** * Event emitted when a valid phone number is entered. Contains the full phone number with country prefix. */ "onPhoneNumberChanged"?: (event: SmsSendCustomEvent) => void; /** * Event emitted when phone validation fails. Useful for parent components to handle validation errors. */ "onValidationError"?: (event: SmsSendCustomEvent) => void; } interface StateTransition { } interface UploadingData { "type"?: string; } interface UserLiveness { "mode"?: string; "onApiError"?: (event: UserLivenessCustomEvent) => void; } interface IntrinsicElements { "agreement-info": AgreementInfo; "agreement-view": AgreementView; "camera-error": CameraError; "capture-error": CaptureError; "citizenship-selection": CitizenshipSelection; "country-selector": CountrySelector; "end-redirect": EndRedirect; "error-end": ErrorEnd; "how-to-info": HowToInfo; "id-auto-capture": IdAutoCapture; "id-capture-confirm": IdCaptureConfirm; "id-selection": IdSelection; "identification-component": IdentificationComponent; "landing-validation": LandingValidation; "loader-dots": LoaderDots; "mobile-redirect": MobileRedirect; "process-id": ProcessId; "random-action": RandomAction; "random-actions": RandomActions; "selfie-auto-capture": SelfieAutoCapture; "sms-code-validation": SmsCodeValidation; "sms-send": SmsSend; "state-transition": StateTransition; "uploading-data": UploadingData; "user-liveness": UserLiveness; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "agreement-info": LocalJSX.AgreementInfo & JSXBase.HTMLAttributes; "agreement-view": LocalJSX.AgreementView & JSXBase.HTMLAttributes; "camera-error": LocalJSX.CameraError & JSXBase.HTMLAttributes; "capture-error": LocalJSX.CaptureError & JSXBase.HTMLAttributes; "citizenship-selection": LocalJSX.CitizenshipSelection & JSXBase.HTMLAttributes; "country-selector": LocalJSX.CountrySelector & JSXBase.HTMLAttributes; "end-redirect": LocalJSX.EndRedirect & JSXBase.HTMLAttributes; "error-end": LocalJSX.ErrorEnd & JSXBase.HTMLAttributes; "how-to-info": LocalJSX.HowToInfo & JSXBase.HTMLAttributes; "id-auto-capture": LocalJSX.IdAutoCapture & JSXBase.HTMLAttributes; "id-capture-confirm": LocalJSX.IdCaptureConfirm & JSXBase.HTMLAttributes; "id-selection": LocalJSX.IdSelection & JSXBase.HTMLAttributes; "identification-component": LocalJSX.IdentificationComponent & JSXBase.HTMLAttributes; "landing-validation": LocalJSX.LandingValidation & JSXBase.HTMLAttributes; "loader-dots": LocalJSX.LoaderDots & JSXBase.HTMLAttributes; "mobile-redirect": LocalJSX.MobileRedirect & JSXBase.HTMLAttributes; "process-id": LocalJSX.ProcessId & JSXBase.HTMLAttributes; "random-action": LocalJSX.RandomAction & JSXBase.HTMLAttributes; "random-actions": LocalJSX.RandomActions & JSXBase.HTMLAttributes; "selfie-auto-capture": LocalJSX.SelfieAutoCapture & JSXBase.HTMLAttributes; "sms-code-validation": LocalJSX.SmsCodeValidation & JSXBase.HTMLAttributes; "sms-send": LocalJSX.SmsSend & JSXBase.HTMLAttributes; "state-transition": LocalJSX.StateTransition & JSXBase.HTMLAttributes; "uploading-data": LocalJSX.UploadingData & JSXBase.HTMLAttributes; "user-liveness": LocalJSX.UserLiveness & JSXBase.HTMLAttributes; } } }