import { SynologyApiResponse } from "../../types/index.js"; export type DeleteFileParams = { /** * One or more copied/moved file/folder path(s) starting with a shared folder, separated by commas "," and around brackets. */ path: string | string[]; /** * true : calculate the progress by each moved/copied file within sub-folder. false : calculate the progress by files which you give in path parameters. This calculates the progr */ accurate_progress?: boolean; /** * true : delete recursively. false : delete non-empty folder. */ recursive?: boolean; /** * A unique ID for the search task which is obtained from start method. It's used to delete the file in the search result */ search_taskid?: string; }; export type DeleteFileResponse = SynologyApiResponse<{ taskid: string; }>; export declare function startDeleteFile(params: DeleteFileParams): Promise; export declare function stopDeleteFile(params: { taskid: string; }): Promise>; export type DeleteFileStatusResponse = SynologyApiResponse<{ finished: boolean; found_dir_num: number; found_file_num: number; found_file_size: number; has_dir: boolean; path: string; processed_num: number; processing_path: string; progress: number; total: number; }>; export declare function getDeleteFileStatus(params: { taskid: string; }): Promise;