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 DeleteMetadataMutationQueryParams { account_identifier: string; } export type DeleteMetadataOkResponse = ResponseWithPagination; export type DeleteMetadataErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface DeleteMetadataProps extends Omit, 'url'> { queryParams: DeleteMetadataMutationQueryParams; } export declare function deleteMetadata(props: DeleteMetadataProps): Promise; /** * Delete metadata key-value pairs for a specific entity. * This endpoint allows you to delete existing metadata for packages, versions, or registry-level entities. * The operation supports deleting existing metadata in a single request. * */ export declare function useDeleteMetadataMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;