import { DeleteTagParams, GetAllTagsParams, GetTagParams, GetTagsOptions, GetTagsParams, PatchTagParams, PostTagParams, TagListResponse, TagResponse } from "../models/index.js"; import { AuthArgs } from "./apiFetch.js"; /** * Fetches a single tag by ID. * @param params - {@link GetTagParams} * @returns Tag details. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function getTag({ tagId, iTwinId, getAccessToken, baseUrl, }: GetTagParams & AuthArgs): Promise; /** * Fetches tags in a single page specified by the options. * @param params - {@link GetTagsParams} * @returns One page of tags in the iTwin. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function getTags({ iTwinId, top, skip, getAccessToken, baseUrl, }: GetTagsParams & AuthArgs): Promise; /** * Fetches tags in a paginated manner. * @param args - {@link GetAllTagsParams} * @param opts - {@link GetTagsOptions} * @returns Async iterator of paged tag lists. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function getAllTags(args: GetAllTagsParams & AuthArgs, opts: Required): AsyncIterableIterator; /** * Creates a new tag. * @param params - {@link PostTagParams} * @returns Created tag details. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function postTag({ iTwinId, tag, getAccessToken, baseUrl, }: PostTagParams & AuthArgs): Promise; /** * Updates an existing tag. * @param params - {@link PatchTagParams} * @returns Updated tag details. * @throws {ScenesApiError} If the API call fails or the response format is invalid. */ export declare function patchTag({ tagId, iTwinId, tag, getAccessToken, baseUrl, }: PatchTagParams & AuthArgs): Promise; /** * Deletes a tag by ID. * @param params - {@link DeleteTagParams} * @throws {ScenesApiError} If the API call fails. */ export declare function deleteTag({ tagId, iTwinId, getAccessToken, baseUrl, }: DeleteTagParams & AuthArgs): Promise;