import { GUI } from '../core/GUI'; interface PANDetails { name: string; fatherName: string; dob: string; panIDNumber: string; image: string; } export default class PANIDData { static gui: GUI; /** * This method is used to capture the front side of the id card * @param data - Data URI obtained from the canvas * @returns File Data from the URI */ dataURIToFile: (data: any) => Promise; /** * This method is used to capture the front side of the id card * @param data - Data URI obtained from the canvas */ getCardData: (data: any) => Promise; /** * This method sets the pancard data and returns for checking * @param panCardData - Pancard data as processed by the axios response * @returns - Pancard Data */ setPANCardData: (userData: any) => void; /** * To check is key is present * @param userData * @param key * @returns */ checkIsKeyPresent: (userData: any, key: string) => any; /** * To get the pancard data * @returns */ getPanCardData: () => PANDetails; /** *To get the captured data */ getCapturedData: () => Promise; /** *To clear the pan data */ clearPANCardData: () => void; } export {};