import { SynologyApiResponse } from "../../types/index.js"; /** * Copy/move file(s)/folder(s). * This is a non-blocking API. You need to start to copy/move files with start method. Then, you should poll * requests with status method to get the progress status, or make a request with stop method to cancel the * operation * */ export type CopyMoveParams = { path: string; dest_folder_path: string; overwrite?: boolean; remove_src?: boolean; search_taskid?: string; accurate_progress?: boolean; }; export declare function startCopyMove(params: CopyMoveParams): Promise>; export type CopyMoveStatusResponse = SynologyApiResponse<{ finished: boolean; path: string; processed_size: number; progress: number; total: number; dest_folder_path: string; }>; export declare function getCopyMoveStatus(params: { taskid: string; }): Promise; export declare function stopCopyMove(params: { taskid: string; }): Promise>;