import { UseMutationOptions } from '@tanstack/react-query'; import type { CopyResponseResponse } from '../responses/CopyResponseResponse'; 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 CopyMutationQueryParams { account_identifier: string; src_org_identifier?: string; src_project_identifier?: string; src_registry_identifier: string; src_artifact?: string; src_version?: string; target_org_identifier?: string; target_project_identifier?: string; target_registry_identifier: string; artifact_type?: 'dataset' | 'model' | 'module' | 'provider'; filters?: string[]; } export type CopyOkResponse = ResponseWithPagination; export type CopyErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface CopyProps extends Omit, 'url'> { queryParams: CopyMutationQueryParams; } export declare function copy(props: CopyProps): Promise; /** * Copy Artifact */ export declare function useCopyMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;