import { DataSource } from 'typeorm';
import { SetupHumanResourceLeaveType } from './entities/setup-human_resource-leave_type.entity';
import { CountDto } from './dto/setup-human_resource-leave_types.dto';
export declare class SetupHumanResourceLeaveTypesService {
    private readonly connection;
    private readonly dynamicConnection;
    constructor(connection: DataSource, dynamicConnection: DataSource);
    create(leavetypesEntity: SetupHumanResourceLeaveType): Promise<{
        [key: string]: any;
    }[]>;
    findAll(): Promise<SetupHumanResourceLeaveType[]>;
    findOne(id: string): Promise<SetupHumanResourceLeaveType | null>;
    update(id: string, leavetypesEntity: SetupHumanResourceLeaveType): Promise<{
        [key: string]: any;
    }[]>;
    remove(id: number, Hospital_id: string): Promise<{
        [key: string]: any;
    }[]>;
    HRLeaveTypes(search: string): Promise<SetupHumanResourceLeaveType[]>;
    findAllLeaveTypes(limit: number, page: number): Promise<CountDto>;
    findLeaveTypesearch(search: string, limit: number, page: number): Promise<CountDto>;
}
