import { PluginVersion } from '@twilio/flex-plugins-api-client'; import { OutputFlags } from '@oclif/parser/lib/parse'; import { BuildInstance } from 'twilio/lib/rest/serverless/v1/service/build'; import * as flags from '../../../../utils/flags'; import ArchiveResource from '../../../../sub-commands/archive-resource'; export default class FlexPluginsArchivePluginVersion extends ArchiveResource { static topicName: string; static description: string; static flags: { name: flags.IOptionFlag; version: flags.IOptionFlag; json: import("@oclif/parser/lib/flags").IBooleanFlag; 'clear-terminal': import("@oclif/parser/lib/flags").IBooleanFlag; region: import("@oclif/command/lib/flags").IOptionFlag; }; _flags: OutputFlags; init(): Promise; /** * @override */ doArchive(): Promise; /** * @override */ getName(): string; /** * @override */ getResourceType(): string; /** * @override */ getTopicName(): string; /** * Archives the resource on flex-plugins-api service * @private */ private archiveOnPluginsAPI; /** * Removes the serverless files * @param build the active {@link BuildInstance} to remove the files from * @private */ removeServerlessFiles(build: BuildInstance): Promise; /** * Filters the asset by path * @param asset the asset to filter * @private */ private filterAssetExists; /** * Returns the {@link BuildInstance} if found. It will also return undefined if the pluginVersion is not part of this build * @private */ private getBuildIfActive; }