import { UseMutationOptions } from '@tanstack/react-query'; import type { RegistryResponseResponse } from '../responses/RegistryResponseResponse'; 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 { RegistryRequestRequestBody } from '../requestBodies/RegistryRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ModifyRegistryMutationPathParams { registry_ref: string; } export type ModifyRegistryRequestBody = RegistryRequestRequestBody; export type ModifyRegistryOkResponse = ResponseWithPagination; export type ModifyRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface ModifyRegistryProps extends ModifyRegistryMutationPathParams, Omit, 'url'> { body: ModifyRegistryRequestBody; } export declare function modifyRegistry(props: ModifyRegistryProps): Promise; /** * Updates a Registry in the account for the given key */ export declare function useModifyRegistryMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;