import { listTags, queryTags, createTag } from '@wix/bex-utils/@wix/ambassador-os-tags-v1-tag/http';
import { CreateTagRequest, DeleteTagRequest, DeleteTagResponse, ListTagsRequest, QueryTagsRequest, Tag, TagExposure, UpdateTagRequest } from '@wix/bex-utils/@wix/ambassador-os-tags-v1-tag/types';
import { WixPatternsContainer } from '../../state';
import type { errorHandler } from '@wix/essentials';
export interface TagsServiceParams {
    readonly container: WixPatternsContainer;
}
export declare class TagsService {
    private readonly container;
    constructor({ container }: TagsServiceParams);
    private get httpClient();
    private getContextFunction;
    listTags(request: ListTagsRequest, errorCodesMap: errorHandler.ErrorCodesMap<typeof listTags>, options: {
        serverErrorOverride: errorHandler.ShowErrorMapFunction;
    }): Promise<Tag[]>;
    queryTags(request: QueryTagsRequest, errorCodesMap: errorHandler.ErrorCodesMap<typeof queryTags>, options: {
        serverErrorOverride: errorHandler.ShowErrorMapFunction;
    }): Promise<{
        items: Tag[];
        cursor?: string | null;
        hasNext?: boolean | null;
        total?: number | null;
    }>;
    fetchTagsByIds({ fqdn, tagIds, exposure, pageSize, }: {
        fqdn: string;
        tagIds: string[];
        exposure?: TagExposure;
        pageSize?: number;
    }, errorCodesMap: errorHandler.ErrorCodesMap<typeof queryTags>, options: {
        serverErrorOverride: errorHandler.ShowErrorMapFunction;
    }): Promise<Tag[]>;
    createTag(request: CreateTagRequest, errorCodesMap: errorHandler.ErrorCodesMap<typeof createTag>): Promise<Tag>;
    updateTag(request: UpdateTagRequest): Promise<Tag>;
    deleteTag(request: DeleteTagRequest): Promise<DeleteTagResponse>;
}
//# sourceMappingURL=tagsService.d.ts.map