import DataLoader from 'dataloader';
import { DBProvider } from '../../app-providers/db.provider.js';
import type { BusinessTripProto, IGetBusinessTripsByDatesParams, IInsertBusinessTripParams, IUpdateAccountantApprovalParams, IUpdateBusinessTripParams } from '../types.js';
export declare class BusinessTripsProvider {
    private dbProvider;
    cache: {
        get: <T>(key: import("node-cache").Key) => T | undefined;
        set: {
            <T>(key: import("node-cache").Key, value: T, ttl: number | string): boolean;
            <T>(key: import("node-cache").Key, value: T): boolean;
        };
        delete: (keys: import("node-cache").Key | import("node-cache").Key[]) => number;
        clear: () => void;
    };
    constructor(dbProvider: DBProvider);
    getAllBusinessTrips(): Promise<BusinessTripProto[]>;
    private batchBusinessTripsByIds;
    getBusinessTripsByIdLoader: DataLoader<string, BusinessTripProto | undefined, import("node-cache").Key | import("node-cache").Key[]>;
    private batchBusinessTripByChargeIds;
    getBusinessTripsByChargeIdLoader: DataLoader<string, import("../types.js").IGetBusinessTripsByChargeIdsResult | undefined, import("node-cache").Key | import("node-cache").Key[]>;
    private batchChargeIdsByBusinessTripIds;
    getChargeIdsByBusinessTripIdLoader: DataLoader<string, string[], import("node-cache").Key | import("node-cache").Key[]>;
    getBusinessTripsByDates(params: IGetBusinessTripsByDatesParams): Promise<import("../types.js").IGetBusinessTripsByDatesResult[]>;
    updateChargeBusinessTrip(chargeId: string, businessTripId: string | null): Promise<void[] | import("../types.js").IUpdateChargeBusinessTripResult[]>;
    updateBusinessTrip(params: IUpdateBusinessTripParams): Promise<import("../types.js").IUpdateBusinessTripResult[]>;
    insertBusinessTrip(params: IInsertBusinessTripParams): Promise<import("../types.js").IInsertBusinessTripResult[]>;
    updateAccountantApproval(params: IUpdateAccountantApprovalParams): Promise<import("../types.js").IUpdateAccountantApprovalResult[]>;
    clearCache(): void;
}
