import { AsyncOperationResult, AsyncOperationStatus } from '../types.js'; import { AbstractOutputService, OutputFlags, OutputService } from './outputService.js'; export type AorOutputFlags = { async?: boolean; } & OutputFlags; /** * Service interface for printing the output of async operations * * @author JuanStenghele-sf */ export type AorOutputService = OutputService & { /** * Prints the status of the given aor */ printAorStatus(aor: AsyncOperationResult): void; /** * Prints the aor id */ printAorId(): void; /** * Sets the aor id */ setAorId(aorId: string): void; /** * Sets the aor id */ getStatus(): AsyncOperationStatus | undefined; }; /** * Abstract class that implements AorOutputService interface * * @author JuanStenghele-sf */ export declare abstract class AbstractAorOutputService extends AbstractOutputService implements AorOutputService { protected aorId: string; protected status: AsyncOperationStatus | undefined; constructor(flags: T, aorId: string); printAorStatus(aor: AsyncOperationResult): void; printAorId(): void; setAorId(aorId: string): void; getStatus(): AsyncOperationStatus | undefined; abstract printOpSummary(): void; }