import { LogWriter } from "@vlocode/core"; import { Connection } from "@vlocode/salesforce"; import { DatapackDeploymentOptions } from './datapackDeploymentOptions'; interface DatapackDeployOptions extends DatapackDeploymentOptions { /** * Optional JSForce connection to the org to which to deploy the specified datapacks */ jsforceConnection?: Connection; /** * An SFDX username or alias used for connecting to Salesforce */ sfdxUser?: string; /** * Optional logger to which the deployment process writes log entries; if not is specified no messages will be logged. */ logger?: LogWriter; } /** * Deploy 1 or more datapack from the specified folders to Salesforce. The deployment process can be controlled by the options parameter. * At minimum a connection or sfdxAlias should be specified which will tell the deployment to which environment to connect. * * This is a simple straight forward method that can be used to trigger a deployment without having to prepare and setup the dependent classes and objects. * @param input The folder(s) to load the datapacks from that will be deployed * @param options options that control the deployment * @returns An promise of the deployment object containing the deployment results */ export declare function deploy(input: string | string[], options: DatapackDeployOptions): Promise; export {}; //# sourceMappingURL=datapackDeploy.d.ts.map