import DataLoader from 'dataloader';
import { AdminContextProvider } from '../../admin-context/providers/admin-context.provider.js';
import { TenantAwareDBClient } from '../../app-providers/tenant-db-client.js';
import type { IDeleteAllChargeSpreadByChargeIdAndYearOfRelevanceParams, IDeleteAllChargeSpreadByChargeIdsParams, IInsertChargeSpreadParams, IUpdateChargeSpreadParams } from '../types.js';
export declare class ChargeSpreadProvider {
    private db;
    private adminContextProvider;
    constructor(db: TenantAwareDBClient, adminContextProvider: AdminContextProvider);
    private batchChargesSpreadByChargeIds;
    getChargeSpreadByChargeIdLoader: DataLoader<string, import("../types.js").IGetChargesSpreadByChargeIdsResult[], string>;
    updateChargeSpread(params: IUpdateChargeSpreadParams): Promise<import("../types.js").IUpdateChargeSpreadResult[]>;
    insertChargeSpread(params: IInsertChargeSpreadParams): Promise<import("../types.js").IInsertChargeSpreadResult[]>;
    deleteAllChargeSpreadByChargeIds(params: IDeleteAllChargeSpreadByChargeIdsParams): Promise<void[]>;
    deleteAllChargeSpreadByChargeIdAndYearOfRelevance(params: IDeleteAllChargeSpreadByChargeIdAndYearOfRelevanceParams): Promise<void[]>;
}
