import { SfCommand } from '@salesforce/sf-plugins-core'; /** How many downloads succeeded and failed, and the CSVs each set was written to. */ export type DataFilesDownloadResult = { successCount: number; errorCount: number; successFile: string; errorFile: string; }; /** * Downloads files specified by a where clause for a `ContentVersion` query from a Salesforce * org. By default, the plugin uses the REST API for the download to allow for the streaming of * large files without issue. This means that each file uses one REST API request. * * Successes and failures are written to `download/success.csv` and `download/error.csv` * respectively as downloads complete, rather than accumulated in memory. */ export default class DataFilesDownload extends SfCommand { static readonly summary: string; static readonly description: string; static readonly examples: string[]; static readonly flags: { 'max-parallel-jobs': import("@oclif/core/interfaces").OptionFlag; 'where-content-version': import("@oclif/core/interfaces").OptionFlag; 'max-api-usage': import("@oclif/core/interfaces").OptionFlag; 'api-version': import("@oclif/core/interfaces").OptionFlag; 'target-org': import("@oclif/core/interfaces").OptionFlag; 'flags-dir': import("@oclif/core/interfaces").OptionFlag; }; /** @returns The success and error counts and the CSVs they were written to. */ run(): Promise; }