import { UseMutationOptions } from '@tanstack/react-query'; import type { ArtifactLabelResponseResponse } from '../responses/ArtifactLabelResponseResponse'; import type { BadRequestResponse } from '../responses/BadRequestResponse'; import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse'; import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse'; import type { NotFoundResponse } from '../responses/NotFoundResponse'; import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse'; import type { ArtifactLabelRequestRequestBody } from '../requestBodies/ArtifactLabelRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpdateArtifactLabelsMutationPathParams { registry_ref: string; artifact: string; } export interface UpdateArtifactLabelsMutationQueryParams { artifact_type?: 'dataset' | 'model' | 'module' | 'provider'; } export type UpdateArtifactLabelsRequestBody = ArtifactLabelRequestRequestBody; export type UpdateArtifactLabelsOkResponse = ResponseWithPagination; export type UpdateArtifactLabelsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface UpdateArtifactLabelsProps extends UpdateArtifactLabelsMutationPathParams, Omit, 'url'> { queryParams: UpdateArtifactLabelsMutationQueryParams; body: UpdateArtifactLabelsRequestBody; } export declare function updateArtifactLabels(props: UpdateArtifactLabelsProps): Promise; /** * Update Artifact Labels. */ export declare function useUpdateArtifactLabelsMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;