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 UpsertPackageMetadataV3MutationPathParams { id: string; } export interface UpsertPackageMetadataV3MutationQueryParams { account_identifier: string; } export type UpsertPackageMetadataV3RequestBody = MetadataRequestV3RequestBody; export type UpsertPackageMetadataV3OkResponse = ResponseWithPagination; export type UpsertPackageMetadataV3ErrorResponse = ErrorV3; export interface UpsertPackageMetadataV3Props extends UpsertPackageMetadataV3MutationPathParams, Omit, 'url'> { queryParams: UpsertPackageMetadataV3MutationQueryParams; body: UpsertPackageMetadataV3RequestBody; } export declare function upsertPackageMetadataV3(props: UpsertPackageMetadataV3Props): Promise; /** * Creates or overwrites metadata for a package. */ export declare function useUpsertPackageMetadataV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;