/** * @author: Prachi Singh (prachi@hackcapital.com) * @date: Tuesday, 5th November 2019 1:11:40 pm * @lastModifiedBy: Prachi Singh (prachi@hackcapital.com) * @lastModifiedTime: Monday, 18th November 2019 4:28:12 pm * * DESCRIPTION: ops add * * @copyright (c) 2019 Hack Capital */ import Command from '../base'; import { OpCommand, OpWorkflow, Config } from '../types'; declare type OpFilter = { opTeamName: string; opName: string; opVersionName: string; }; interface AddInputs { opName: string; config: Config; ops: (OpCommand | OpWorkflow)[]; opFilter: OpFilter; addedOpID: number; } export default class Add extends Command { static description: string; static flags: { help: import("@oclif/parser/lib/flags").IBooleanFlag; }; static args: { name: string; description: string; }[]; ops: (OpCommand | OpWorkflow)[]; promptFilter: (inputs: AddInputs) => Promise; isOpAlreadyInTeam: (opResults: (OpCommand | OpWorkflow)[], opName: string, opTeamName: string, opVersionName: string, myTeamName: string) => boolean; getAllMyOps: (config: Config) => Promise<(OpCommand | OpWorkflow)[]>; getAllPublicOps: (inputs: AddInputs) => Promise; private _fuzzyFilterParams; _formatOpOrWorkflowName: (op: OpCommand | OpWorkflow) => string; private _autocompleteSearch; selectOpPrompt: (inputs: AddInputs) => Promise; checkValidOpName: (inputs: AddInputs) => Promise; splitOpName: (inputs: AddInputs) => AddInputs; addOp: (inputs: AddInputs) => Promise; sendAnalytics: (inputs: AddInputs) => Promise; getSuccessMessage: (inputs: AddInputs) => AddInputs; run(): Promise; } export {};