import { CommandArgument, CommandResult } from '../../utils/types.js'; import { SessionAwareCLICommand } from './sessionAwareCommand.js'; /** * Command to drive ServiceNow app-repo CI/CD operations against an instance * (SDK v4.10.0+ `now-sdk cicd`). Wraps the `sn_cicd` app_repo endpoints: * `install`, `publish`, and `rollback`. * * These actions change instance state, so the tool is annotated destructive. * The read-only/test half of the `cicd` tree lives in `CicdTestCommand`. * * Auth is auto-injected from the session. `--auth` is the only credential flag * the CLI accepts here: the instance is resolved from the alias. * * The CLI defaults to `--wait`, polling the progress endpoint for up to 15 * minutes, so `timeoutMs` sits just above the CLI's own poll timeout to let the * CLI report a clean timeout instead of the runner killing the child first. */ export declare class CicdAppCommand extends SessionAwareCLICommand { name: string; description: string; annotations: { destructiveHint: boolean; idempotentHint: boolean; openWorldHint: boolean; }; timeoutMs: number; arguments: CommandArgument[]; /** * Validate the action token and the per-action argument legality that the CLI * enforces, so a caller gets a message naming the exact problem rather than an * opaque CLI failure. The schema has already checked `action`, `output` and * `select` against their domains. */ protected validateArgs(args: Record): void; protected resolveTimeoutMs(args: Record): number; execute(args: Record, signal?: AbortSignal): Promise; } //# sourceMappingURL=cicdAppCommand.d.ts.map