import { HttpStatus } from '@nestjs/common';
import { DataSource } from 'typeorm';
import { OpdOutPatient } from './entities/opd-out_patient.entity';
import { CountDto } from './opd-out_patient.dto';
import { FaceAuthService } from 'src/face-auth/face-auth.service';
import { NewBillingService } from 'src/new-billing/new-billing.service';
export declare class OpdOutPatientService {
    private readonly connection;
    private readonly dynamicConnection;
    private readonly addAppointmentService;
    private readonly newBillingService;
    constructor(connection: DataSource, dynamicConnection: DataSource, addAppointmentService: FaceAuthService, newBillingService: NewBillingService);
    create(opd_entity: OpdOutPatient): Promise<{
        statusCode: HttpStatus;
        status: string;
        message: string;
    } | {
        status: string;
        message: string;
        statusCode?: undefined;
    } | {
        status: string;
        message: string;
        'inserted_details ': any;
    }[]>;
    findAll(): Promise<any>;
    findOne(search: string): Promise<any>;
    update(id: number, opd_entity: OpdOutPatient): Promise<{
        status: string;
        messege: string;
        updated_details: any;
    }[]>;
    findTitleByType(id: number): Promise<any | null>;
    findDescByOne(id: number): Promise<any | null>;
    remove(id: string, hos_id: number): Promise<{
        [key: string]: any;
    }[]>;
    findOpdDetailsBySearch(search: string): Promise<OpdOutPatient[]>;
    findopd_details(limit: number, page: number, search?: string): Promise<CountDto>;
    V3findopd_details(limit: number, page: number, search?: string): Promise<{
        details: any;
        count: any;
    }>;
    findOnebyid(id: string, hospital_id: number): Promise<any>;
}
