import { ErrorLegendModel } from '../../../interfaces/mexican-id/error-legend.model'; import { DataResponseModel } from '../../../interfaces/mexican-id/data-response.model'; import { ResponseErrorModel } from '../../../interfaces/mexican-id/response-error.model'; import { IdCaptureConfigurationModel } from '../../../interfaces/mexican-id/id-capture-configuration.model'; import { EventEmitter, OnDestroy, OnInit } from '@angular/core'; import * as i0 from "@angular/core"; /** * Componente que muestra interfaz gráfica para captura de identificación */ export declare class DniCaptureComponent implements OnInit, OnDestroy { /** * Bandera para iniciar compoente * @type {boolean} * @public */ started: boolean; /** * Bandera para indicar compatibilidad del navegador * @type {boolean} * @public */ isBrowserCompatible?: boolean; configuration?: IdCaptureConfigurationModel; acceptedProbability: number; twoSides: boolean; debugMode: boolean; forceCrop: boolean; backTitle?: string; frontTitle?: string; tfWasmPath?: string; imageExtensionResult: string; deviceId: string | undefined | null; darkMode: boolean; notSupportedLegend: ErrorLegendModel; secondsForManualCapture?: number; forceSideValidation?: boolean; tfModelName?: string; getData: EventEmitter; onStart: EventEmitter; onClose: EventEmitter; onError: EventEmitter; cameraAccepted: EventEmitter; constructor(); ngOnInit(): Promise; ngOnDestroy(): void; /** * Evento que se dispara al obtener acceso a la cámara * @return {EventEmitter} evento */ cameraAcceptedEvent(): void; /** * Evento que se dispara al obtener la imágen de las predicciones * @param {any} event : resultado * @return {EventEmitter} evento */ onResultEvent($event: DataResponseModel[]): void; /** * Evento que se dispara al detectar un error * @param {ResponseErrorModel} event : error * @return {EventEmitter} evento */ onErrorEvent($event: ResponseErrorModel): void; /** * Evento que se dispara al cerrar la cámara * @param {any} event : valor * @return {EventEmitter} evento */ onCloseEvent($event: any): void; private _setErrorLegends; private _restart; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }