import { type HttpError, type Resource } from '@opencloud-eu/web-client'; import type { TransferData } from '../../../helpers/resource/conflictHandling'; export type PasteWorkerReturnData = { successful: Resource[]; failed: { resourceName: string; message: string; statusCode: number; xReqId: string; }[]; }; type CallbackOptions = { successful: Resource[]; failed: { resourceName: string; error: HttpError; }[]; }; /** * Web worker for pasting copied/cut resources into another location. */ export declare const usePasteWorker: () => { startWorker: (transferData: TransferData[], callback: (result: CallbackOptions) => void) => void; }; export {};