import { DataSource } from 'typeorm';
import { IdentityVerificationStorage } from './entities/identityVerificationStorage';
import { VerificationTypeEnum } from '../types/VerificationTypeEnum';
import { VeriffStatusEnum } from '../types/VeriffStatusEnum';
export declare class IdentityVerificationStorageRepository {
    private ormRepository;
    constructor(dataSource: DataSource);
    create(sessionId: string, type: VerificationTypeEnum, status: VeriffStatusEnum, vc: string): Promise<IdentityVerificationStorage>;
    findLatestWithStatus(type: VerificationTypeEnum, status: VeriffStatusEnum): Promise<IdentityVerificationStorage | null>;
    deleteAll(): Promise<void>;
    update(identityVerification: IdentityVerificationStorage): Promise<IdentityVerificationStorage>;
    findByIdAndType(sessionId: string, type: VerificationTypeEnum): Promise<IdentityVerificationStorage | null>;
    findLatestWithTypeAndStatus(type: VerificationTypeEnum, status: VeriffStatusEnum): Promise<IdentityVerificationStorage | null>;
    findCountByType(type?: VerificationTypeEnum): Promise<number>;
    findByType(type: VerificationTypeEnum): Promise<IdentityVerificationStorage | null>;
}
//# sourceMappingURL=identityVerificationStorageRepository.d.ts.map