import DataLoader from 'dataloader';
import { DBProvider } from '../../app-providers/db.provider.js';
import type { IDeleteDepreciationCategoryParams, IGetAllDepreciationCategoriesResult, IInsertDepreciationCategoryParams, IUpdateDepreciationCategoryParams } from '../types.js';
export declare class DepreciationCategoriesProvider {
    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);
    getAllDepreciationCategories(): Promise<IGetAllDepreciationCategoriesResult[]>;
    private batchDepreciationCategoriesByIds;
    getDepreciationCategoriesByIdLoader: DataLoader<string, import("../types.js").IGetDepreciationCategoriesByIdsResult | undefined, import("node-cache").Key | import("node-cache").Key[]>;
    updateDepreciationCategory(params: IUpdateDepreciationCategoryParams): Promise<import("../types.js").IUpdateDepreciationCategoryResult[]>;
    insertDepreciationCategory(params: IInsertDepreciationCategoryParams): Promise<import("../types.js").IInsertDepreciationCategoryResult[]>;
    deleteDepreciationCategory(params: IDeleteDepreciationCategoryParams): Promise<import("../types.js").IDeleteDepreciationCategoryResult[]>;
    clearCache(): void;
}
