import { Command } from 'commander'; import { ListCommand, ListCommandOptions } from './list-command.js'; import { CrudCommand, CrudCommandOptions, CrudCreateUpdateOptions } from './crud-command.js'; import { CommandOption, MergeConfiguration, JobProcessing, JobState } from '../types.js'; export interface JobListCommandOptions extends ListCommandOptions { includeGraph?: boolean; since?: string; processing?: JobProcessing; allVersions?: boolean; state?: JobState[]; name?: string[]; id?: string[]; all?: boolean; } export interface JobCrudCommandOptions extends CrudCommandOptions { forVersion?: number; resolved?: boolean; } export interface JobCreateUpdateOptions extends CrudCreateUpdateOptions { rollbackEnabled?: boolean; } /** * Job list command implementation using the new architecture * Shows smart defaults: active, stopped, and recently finished or failed jobs since 6 hours ago */ export declare class JobListCommand extends ListCommand { getCommandName(): string; getCommandDescription(): string; getCommandOptions(): CommandOption[]; executeList(options: JobListCommandOptions): Promise; private buildJobListParams; /** * Override query summary to show job-specific filters */ protected generateQuerySummary(options: JobListCommandOptions, resultCount: number): string; } /** * Job CRUD command implementation using the new architecture */ export declare class JobCrudCommand extends CrudCommand { private streamingExecutor; constructor(); getCommandPrefix(): string; getResourceName(): string; protected hasCustomCreate(): boolean; protected getGetOptions(): CommandOption[]; protected getUpdateOptions(): CommandOption[]; executeGet(jobId: string, options: JobCrudCommandOptions): Promise; executeCreate(options: CrudCreateUpdateOptions): Promise; private executeSynchronousJobCreate; private executeAsynchronousJobCreate; private loadJobDefinition; executeUpdate(jobId: string, options: JobCreateUpdateOptions): Promise; executeDelete(jobId: string, options: JobCrudCommandOptions): Promise; addToProgram(program: Command, mergeConfiguration: MergeConfiguration): void; } //# sourceMappingURL=job-command.d.ts.map