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 MigrateRegistryV3MutationPathParams { id: string; } export interface MigrateRegistryV3MutationQueryParams { account_identifier: string; } export type MigrateRegistryV3OkResponse = ResponseWithPagination; export type MigrateRegistryV3ErrorResponse = ErrorV3; export interface MigrateRegistryV3Props extends MigrateRegistryV3MutationPathParams, Omit, 'url'> { queryParams: MigrateRegistryV3MutationQueryParams; } export declare function migrateRegistryV3(props: MigrateRegistryV3Props): Promise; /** * Migrate a generic registry to raw registry type. This will change the registry type from GENERIC to RAW and delete all images associated with the registry. */ export declare function useMigrateRegistryV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;