UNPKG

@seontechnologies/seon-id-verification

Version:

An advanced SDK featuring web components for natural person identification through document scanning, facial recognition, hand gesture, and face turning detection, designed for secure and efficient user verification.

19 lines (18 loc) 651 B
import { TCustomError } from '../shared/types/services/TCustomError'; type Callback = (data: TCustomError) => void; declare class EventDispatcher { private errorTrigger; private errorTriggerPromise; private errorTriggerResolve; constructor(); on(callback: Callback): void; off(__callback: Callback): void; throwError(data?: TCustomError): void; errorCallback(): void; unhandledrejectionCallback(): void; addGlobalErrorListeners(): void; removeGlobalErrorListeners(): void; } export declare const GlobalErrorEvents: EventDispatcher; export declare const throwError: (data?: TCustomError) => void; export {};