import { SfCommand } from '@salesforce/sf-plugins-core'; /** How many uploads succeeded and failed, and the CSVs each set was written to. */ export type DataFilesUploadResult = { successCount: number; errorCount: number; successFile: string; errorFile: string; }; /** * Uploads files specified by a CSV (columns: `PathOnClient`, `Title`, * `FirstPublishLocationId`) to a Salesforce org. By default, the plugin uses the REST API for * the upload since the Bulk API is limited in its payload size. This means that each file uses * one REST API request. * * Successes and failures are written to `upload/success.csv` and `upload/error.csv` * respectively as uploads complete, rather than accumulated in memory. */ export default class DataFilesUpload extends SfCommand { static readonly summary: string; static readonly description: string; static readonly examples: string[]; static readonly flags: { 'file-path': import("@oclif/core/interfaces").OptionFlag; 'max-parallel-jobs': 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; }