import { DataSource } from "typeorm";
import { ABHAProfile, Patient } from "./entities/profile.entity";
import { CryptoService } from "src/qr-encrpyt/qr-encrpyt.service";
export declare class ProfileService {
    private readonly connection;
    private readonly EncryptedService;
    constructor(connection: DataSource, EncryptedService: CryptoService);
    generateUniqueId(): Promise<string>;
    create(PatientEntity: Patient): Promise<{
        id: any;
        status: string;
        user_id: any;
        messege: string;
        inserted_data: any;
    }[]>;
    findOne(id_enc: string): Promise<{
        status: string;
        status_code: number;
        messege: string;
    } | {
        status: string;
        status_code: number;
        messege: string;
    }[] | {
        data: string;
    }[]>;
    update(id: number, PatientEntity: Patient): Promise<{
        data: {
            status: string;
            messege: string;
            updated_values: any;
        };
    }[] | {
        status: string;
        messege: string;
        error: any;
    }[]>;
    updateAbhaNumber(id: string, Entity: ABHAProfile): Promise<{
        data: {
            status: string;
            messege: string;
            updated_values: any;
        };
    }[] | {
        status: string;
        messege: string;
        error: any;
    }[]>;
    remove(id: number): Promise<{
        status: string;
        message: string;
    }[]>;
    Patientqr(id: number): Promise<{
        data: {
            status: string;
            messege: string;
            profile: {
                QR_Type_id: number;
                QR_Type: string;
                profile_details: any;
            }[];
        };
    }[]>;
    Encrypted_Patientqr(id: number): Promise<string>;
}
