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 RestoreVersionV3MutationPathParams { id: string; } export interface RestoreVersionV3MutationQueryParams { account_identifier: string; } export type RestoreVersionV3OkResponse = ResponseWithPagination; export type RestoreVersionV3ErrorResponse = ErrorV3; export interface RestoreVersionV3Props extends RestoreVersionV3MutationPathParams, Omit, 'url'> { queryParams: RestoreVersionV3MutationQueryParams; } export declare function restoreVersionV3(props: RestoreVersionV3Props): Promise; /** * Restore a previously soft-deleted version by ID */ export declare function useRestoreVersionV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;