/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/aggregate" />
/// <reference types="mongoose/types/callback" />
/// <reference types="mongoose/types/collection" />
/// <reference types="mongoose/types/connection" />
/// <reference types="mongoose/types/cursor" />
/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/error" />
/// <reference types="mongoose/types/expressions" />
/// <reference types="mongoose/types/helpers" />
/// <reference types="mongoose/types/middlewares" />
/// <reference types="mongoose/types/indexes" />
/// <reference types="mongoose/types/models" />
/// <reference types="mongoose/types/mongooseoptions" />
/// <reference types="mongoose/types/pipelinestage" />
/// <reference types="mongoose/types/populate" />
/// <reference types="mongoose/types/query" />
/// <reference types="mongoose/types/schemaoptions" />
/// <reference types="mongoose/types/schematypes" />
/// <reference types="mongoose/types/session" />
/// <reference types="mongoose/types/types" />
/// <reference types="mongoose/types/utility" />
/// <reference types="mongoose/types/validation" />
/// <reference types="mongoose/types/virtuals" />
/// <reference types="mongoose/types/inferschematype" />
import mongoose from 'mongoose';
import { IEquipmentDoc, IEquipmentItem, IEquipmentSummary } from '../models/Equipment.model';
export declare const getEquipmentDates: (borrowerId: string) => Promise<IEquipmentDoc[]>;
export declare const getEquipment: (borrowerId: string, date: Date) => Promise<mongoose.FlattenMaps<IEquipmentDoc> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const deleteEquipment: (borrowerId: string, date: Date) => Promise<mongoose.Document<unknown, {}, IEquipmentDoc> & IEquipmentDoc & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const getLatestEquipments: (borrowerId: string, date: Date) => Promise<IEquipmentDoc[]>;
export declare const saveEquipmentDoc: (borrowerId: string, date: Date, items: IEquipmentItem[], summary: IEquipmentSummary) => Promise<mongoose.FlattenMaps<IEquipmentDoc> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const copyEquipmentWithoutSaving: (borrower: string, date: Date, items: IEquipmentItem[], summary: IEquipmentSummary) => Promise<mongoose.Document<unknown, {}, IEquipmentDoc> & IEquipmentDoc & {
    _id: mongoose.Types.ObjectId;
}>;
