import { UseMutationOptions } from '@tanstack/react-query'; import type { SuccessResponse } from '../responses/SuccessResponse'; import type { BadRequestResponse } from '../responses/BadRequestResponse'; import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse'; import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse'; import type { NotFoundResponse } from '../responses/NotFoundResponse'; import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface StartMigrationMutationPathParams { id: string; } export type StartMigrationOkResponse = ResponseWithPagination; export type StartMigrationErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface StartMigrationProps extends StartMigrationMutationPathParams, Omit, 'url'> { } export declare function startMigration(props: StartMigrationProps): Promise; /** * Start migration given an id */ export declare function useStartMigrationMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;