import { UseMutationOptions } from '@tanstack/react-query'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeleteVersionV3MutationPathParams { id: string; } export interface DeleteVersionV3MutationQueryParams { account_identifier: string; force?: boolean; } export type DeleteVersionV3OkResponse = ResponseWithPagination; export type DeleteVersionV3ErrorResponse = ErrorV3; export interface DeleteVersionV3Props extends DeleteVersionV3MutationPathParams, Omit, 'url'> { queryParams: DeleteVersionV3MutationQueryParams; } export declare function deleteVersionV3(props: DeleteVersionV3Props): Promise; /** * Delete a version (soft or hard delete based on deleteType parameter) */ export declare function useDeleteVersionV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;