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 { IAddNewTagParams, IDeleteTagParams, IGetAllTagsResult, IRenameTagParams, IUpdateTagParentParams } from '../types.js';
export declare class TagsProvider {
    private db;
    private adminContextProvider;
    constructor(db: TenantAwareDBClient, adminContextProvider: AdminContextProvider);
    private allTagsCache;
    getAllTags(): Promise<IGetAllTagsResult[]>;
    private batchTagsByID;
    getTagByIDLoader: DataLoader<string, import("../types.js").IGetTagsByIDsResult | undefined, string>;
    private batchTagsByNames;
    getTagByNameLoader: DataLoader<string, import("../types.js").IGetTagsByNamesResult | undefined, string>;
    addNewTag(params: IAddNewTagParams): Promise<import("../types.js").IAddNewTagResult[]>;
    renameTag(params: IRenameTagParams): Promise<import("../types.js").IRenameTagResult[]>;
    deleteTag(params: IDeleteTagParams): Promise<import("../types.js").IDeleteTagResult[]>;
    updateTagParent(params: IUpdateTagParentParams): Promise<import("../types.js").IUpdateTagParentResult[]>;
    clearCache(): void;
}
