import { UseMutationOptions } from '@tanstack/react-query'; import type { MetadataResponseV3Response } from '../responses/MetadataResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { MetadataRequestV3RequestBody } from '../requestBodies/MetadataRequestV3RequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpsertRegistryMetadataV3MutationPathParams { id: string; } export interface UpsertRegistryMetadataV3MutationQueryParams { account_identifier: string; } export type UpsertRegistryMetadataV3RequestBody = MetadataRequestV3RequestBody; export type UpsertRegistryMetadataV3OkResponse = ResponseWithPagination; export type UpsertRegistryMetadataV3ErrorResponse = ErrorV3; export interface UpsertRegistryMetadataV3Props extends UpsertRegistryMetadataV3MutationPathParams, Omit, 'url'> { queryParams: UpsertRegistryMetadataV3MutationQueryParams; body: UpsertRegistryMetadataV3RequestBody; } export declare function upsertRegistryMetadataV3(props: UpsertRegistryMetadataV3Props): Promise; /** * Creates or overwrites metadata for a registry. */ export declare function useUpsertRegistryMetadataV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;