import { UseMutationOptions } from '@tanstack/react-query'; import type { SuccessResponse } from '../responses/SuccessResponse'; 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 { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeleteArtifactVersionMutationPathParams { registry_ref: string; artifact: string; version: string; } export interface DeleteArtifactVersionMutationQueryParams { artifact_type?: 'dataset' | 'model' | 'module' | 'provider'; filters?: string[]; } export type DeleteArtifactVersionOkResponse = ResponseWithPagination; export type DeleteArtifactVersionErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface DeleteArtifactVersionProps extends DeleteArtifactVersionMutationPathParams, Omit, 'url'> { queryParams: DeleteArtifactVersionMutationQueryParams; } export declare function deleteArtifactVersion(props: DeleteArtifactVersionProps): Promise; /** * Delete Artifact Version. */ export declare function useDeleteArtifactVersionMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;