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 UpsertVersionMetadataV3MutationPathParams { id: string; } export interface UpsertVersionMetadataV3MutationQueryParams { account_identifier: string; } export type UpsertVersionMetadataV3RequestBody = MetadataRequestV3RequestBody; export type UpsertVersionMetadataV3OkResponse = ResponseWithPagination; export type UpsertVersionMetadataV3ErrorResponse = ErrorV3; export interface UpsertVersionMetadataV3Props extends UpsertVersionMetadataV3MutationPathParams, Omit, 'url'> { queryParams: UpsertVersionMetadataV3MutationQueryParams; body: UpsertVersionMetadataV3RequestBody; } export declare function upsertVersionMetadataV3(props: UpsertVersionMetadataV3Props): Promise; /** * Creates or overwrites metadata for a version. */ export declare function useUpsertVersionMetadataV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;