import { AbstractPluginLifeCycle } from "@zowe/imperative"; /** * Performs lifecycle functions for a plug-in. */ export declare class LifeCycleForSample extends AbstractPluginLifeCycle { /** * This function will be called after a plug-in is installed. * A plug-in can use this function to perform a sanity test or to * perform some additional setup. */ postInstall(): void; /** * This function will be called before a plug-in is uninstalled. * This lifecycle hook is intended to replace the capability that used to * be performed by the NPM pre-uninstall action before NPM removed that * capability in NPM version 7. * See https://docs.npmjs.com/cli/v9/using-npm/scripts#a-note-on-a-lack-of-npm-uninstall-scripts * * A plug-in can use this function to revert any specialized setup that was * established during the lifetime of the plug-in. */ preUninstall(): void; }