import { CommandArgument, CommandResult } from '../../utils/types.js'; import { SessionAwareCLICommand } from './sessionAwareCommand.js'; /** * Command to run a read-only Table REST API query against a ServiceNow instance * (SDK v4.8.0+ `now-sdk query`). Returns matching records as a JSON envelope. * * Auth is auto-injected from the session. The encoded query commonly contains * shell-relational operators (`<`, `>`, `^`); it is validated and passed as one * literal argv entry to the shell-free process runner. */ export declare class QueryCommand extends SessionAwareCLICommand { name: string; description: string; annotations: { readOnlyHint: boolean; openWorldHint: boolean; }; timeoutMs: number; protected readonly requiresProject = false; arguments: CommandArgument[]; /** * Validate query arguments. The schema checks types, `displayValue`, `select`, * `table`, numeric bounds, and control characters; printable operators such as * `<`, `>`, `^` and `&` are query data passed as one literal argv entry. */ protected validateArgs(args: Record): void; execute(args: Record, signal?: AbortSignal): Promise; } //# sourceMappingURL=queryCommand.d.ts.map