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 DeleteRegistryMutationPathParams { registry_ref: string; } export type DeleteRegistryOkResponse = ResponseWithPagination; export type DeleteRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface DeleteRegistryProps extends DeleteRegistryMutationPathParams, Omit, 'url'> { } export declare function deleteRegistry(props: DeleteRegistryProps): Promise; /** * Delete a Registry in the account for the given key */ export declare function useDeleteRegistryMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;