import { EventEmitter2 } from '@nestjs/event-emitter';
import { DataSource } from 'typeorm';
import { CheckForDuplicateAppointment } from './entities/op-hub-check-for-duplicate-appointment.entity';
export declare class OpHubCheckForDuplicateAppointmentService {
    private readonly dynamicConnection;
    private readonly connection;
    private readonly eventEmitter;
    constructor(dynamicConnection: DataSource, connection: DataSource, eventEmitter: EventEmitter2);
    create(AppointmentEntity: CheckForDuplicateAppointment): Promise<{
        status: string;
        message: string;
        is_duplicate_appointment: boolean;
        error?: undefined;
    } | {
        status: string;
        message: string;
        error: any;
        is_duplicate_appointment?: undefined;
    } | {
        status: string;
        message: string;
        is_duplicate_appointment?: undefined;
        error?: undefined;
    }>;
}
