import SfpowerscriptsCommand from './SfpowerscriptsCommand'; import { Artifact } from '@docusign-it/sfpds.core/lib/artifacts/ArtifactFetcher'; import SfpPackage from '@docusign-it/sfpds.core/lib/package/SfpPackage'; import SFPOrg from '@docusign-it/sfpds.core/lib/org/SFPOrg'; /** * Base class providing common functionality for package installation * * @extends SfpowerscriptsCommand */ export default abstract class InstallPackageCommand extends SfpowerscriptsCommand { protected sfpPackage: SfpPackage; protected sfpOrg: SFPOrg; /** * Flags that are common/required on all package installation commands */ static flags: { package: import("@oclif/core/lib/interfaces").OptionFlag; targetorg: import("@oclif/core/lib/interfaces").OptionFlag; artifactdir: import("@oclif/core/lib/interfaces").OptionFlag; }; protected artifact: Artifact; /** * Procedures unique to the type of package installation */ abstract install(): Promise; /** * Entry point for package installation commands * */ execute(): Promise; /** * Procedures common to all install commands, and to be run BEFORE * the primary install */ private preInstall; /** * Procedures common to all install commands, and to be run AFTER * the primary install */ private postInstall; }