import { SfCommand } from '@salesforce/sf-plugins-core'; import { Interfaces } from '@oclif/core'; import { AsyncOperationResultJson, AsyncOperationStatus } from '../../common/index.js'; import { AsyncCommand } from './abstractAsyncOperation.js'; /** * Helper to determine if an operation has finished and therefore is not resumable * * @param status status of the async operation * @returns true if the operation has finished */ export declare function isNotResumable(status: AsyncOperationStatus): boolean; export type Flags = Interfaces.InferredFlags<(typeof ResumeCommand)['baseFlags'] & T['flags']>; /** * * Base class with the common logic to resume an in progress operation */ export declare abstract class ResumeCommand extends AsyncCommand { static readonly enableJsonFlag = true; static baseFlags: { 'devops-center-username': Interfaces.OptionFlag; 'job-id': Interfaces.OptionFlag; 'use-most-recent': Interfaces.BooleanFlag; concise: Interfaces.BooleanFlag; verbose: Interfaces.BooleanFlag; wait: Interfaces.OptionFlag; 'flags-dir': import("@oclif/core/interfaces").OptionFlag; }; protected flags: Flags; protected abstract operationType: string; init(): Promise; protected resumeOperation(): Promise; }