import { EventEmitter2 } from '@nestjs/event-emitter';
import { DataSource } from 'typeorm';
import { CheckOldPatient } from './entities/op-hub-check-old-patient.entity';
export declare class OpHubCheckOldPatientService {
    private readonly dynamicConnection;
    private readonly connection;
    private readonly eventEmitter;
    constructor(dynamicConnection: DataSource, connection: DataSource, eventEmitter: EventEmitter2);
    findAll(Entity: CheckOldPatient): Promise<{
        status: string;
        message: string;
        details: any;
        error?: undefined;
    } | {
        status: string;
        message: string;
        error: any;
        details?: undefined;
    } | {
        status: string;
        message: string;
    }[]>;
    findAllV2(Entity: CheckOldPatient, limit: number, page: number): Promise<{
        status: string;
        message: string;
        details: any;
        count: any;
        error?: undefined;
    } | {
        status: string;
        message: string;
        details: any[];
        count?: undefined;
        error?: undefined;
    } | {
        status: string;
        message: string;
        error: any;
        details?: undefined;
        count?: undefined;
    } | {
        status: string;
        message: string;
    }[]>;
    findAllV3(Entity: CheckOldPatient, limit: number, page: number): Promise<{
        status: string;
        message: string;
        details: any;
        count: any;
    } | {
        status: string;
        message: string;
    }[]>;
    hosfindAllV2(Entity: CheckOldPatient, limit: number, page: number): Promise<{
        status: string;
        message: string;
        details: any;
        count: any;
        error?: undefined;
    } | {
        status: string;
        message: string;
        details: any[];
        count?: undefined;
        error?: undefined;
    } | {
        status: string;
        message: string;
        error: any;
        details?: undefined;
        count?: undefined;
    } | {
        status: string;
        message: string;
    }[]>;
    hosfindAllV3(Entity: CheckOldPatient, limit: number, page: number): Promise<{
        status: string;
        message: string;
        details: any;
        count: any;
    } | {
        status: string;
        message: string;
    }[]>;
}
