import { CommandArgument, CommandResult } from '../../utils/types.js'; import { SessionAwareCLICommand } from './sessionAwareCommand.js'; /** * Command to transform files in a Fluent (ServiceNow SDK) application * Uses the session's working directory * * The CLI (`sdk-cli/dist/command/transform`) runs in one of three modes, and * its yargs `.check()`/`.conflicts()` rules decide which arguments combine: * - `from`: offline — local XML only, no credential (`--from` conflicts with `--auth`) * - `table` + `id`: one instance record fetched with its related records * - neither: the full application downloaded from the instance * `table` without `id` is a filter, not a fourth source: it narrows a local XML * transform to those tables and never downloads (the orchestrator's * `resolveTableTransformFiles` reads `from`, else the project directory). */ export declare class TransformCommand extends SessionAwareCLICommand { name: string; description: string; annotations: { openWorldHint: boolean; destructiveHint: boolean; }; timeoutMs: number; arguments: CommandArgument[]; /** * Enforce the CLI's own combination rules up front, so the caller gets a * message naming the conflict instead of a yargs failure after spawn. Only * the rules that involve exposed arguments are mirrored: `from` conflicts * with `auth` and `id`; `id` and `force` each require `table`. */ protected validateArgs(args: Record): void; protected resolveTimeoutMs(args: Record): number; execute(args: Record, signal?: AbortSignal): Promise; } //# sourceMappingURL=transformCommand.d.ts.map