import { CommandArgument, CommandResult } from '../../utils/types.js'; import { SessionAwareCLICommand } from './sessionAwareCommand.js'; /** * Command to drive ATF test execution through the ServiceNow CI/CD API * (SDK v4.10.0+ `now-sdk cicd`). Covers the seven ATF leaves of the `cicd` tree: * `testsuite run|watch|result` and `test run|watch|result|logs` (`logs` is * SDK v4.12.0+ and exists for single tests only). * * The tool is annotated destructive because `run` executes real ATF steps * against the instance, which create, update, and delete records under the * runner's impersonation. `watch`, `result`, and `logs` are reads, but annotations are * per-tool, so the annotation follows the widest blast radius the tool can reach * — a client gating on it may only ever over-prompt, never under-prompt. * * These operations never read the Fluent project, so no working directory is * accepted or resolved: the installed package directory is the cwd for spawning * the bundled CLI, and a broken project configuration cannot block a result * lookup. Auth is auto-injected from the session. */ export declare class CicdTestCommand extends SessionAwareCLICommand { name: string; description: string; annotations: { destructiveHint: boolean; idempotentHint: boolean; openWorldHint: boolean; }; timeoutMs: number; protected readonly requiresProject = false; arguments: CommandArgument[]; /** * Validate per-leaf argument legality from `TEST_LEAF_RULES`, so an unusable * combination is named precisely instead of failing opaquely in the CLI. * * The schema has already checked `target`, `action`, `browserName`, `output`, * `select`, `limit`, `pollTimeout`, and every sys_id against their domains. */ protected validateArgs(args: Record): void; protected resolveTimeoutMs(args: Record): number; execute(args: Record, signal?: AbortSignal): Promise; } //# sourceMappingURL=cicdTestCommand.d.ts.map