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 UpsertFileMetadataV3MutationPathParams { id: string; } export interface UpsertFileMetadataV3MutationQueryParams { account_identifier: string; } export type UpsertFileMetadataV3RequestBody = MetadataRequestV3RequestBody; export type UpsertFileMetadataV3OkResponse = ResponseWithPagination; export type UpsertFileMetadataV3ErrorResponse = ErrorV3; export interface UpsertFileMetadataV3Props extends UpsertFileMetadataV3MutationPathParams, Omit, 'url'> { queryParams: UpsertFileMetadataV3MutationQueryParams; body: UpsertFileMetadataV3RequestBody; } export declare function upsertFileMetadataV3(props: UpsertFileMetadataV3Props): Promise; /** * Creates or overwrites metadata for a file. */ export declare function useUpsertFileMetadataV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;