import { FlowStatus } from '../models/FlowStatus'; import Dexie, { Entity, EntityTable } from 'dexie'; export declare class EctData extends Entity { orderId: string; redirectId: string; timestamp: Date; initialized: boolean; phoneNumber: string; refreshStarted: boolean; flowStatus: FlowStatus; idModelsPath: string; faceModelsPath: string; citizenship: string; finished: boolean; } export declare class EctDb extends Dexie { ectdata: EntityTable; constructor(); getLastEctData(finished: boolean): Promise; getAllEctData(): Promise; getOrCreateEctData(orderId: string): Promise; }