/** * Copyright (c) 2026, Salesforce, Inc., * All rights reserved. * For full license text, see the LICENSE.txt file */ import { type GraphQLSchema } from "graphql"; import { type QuerySession } from "./session.js"; /** * Apply one CLI-style command to a transient in-memory session. Mutates * `session` in place. Throws on any failure (unknown verb, malformed tokens, * unresolvable path) so the caller can fail the whole `commands[]` sequence. * * v1 supports `select`, `set`, and `var` (FR-12.1, live CLI grammar). */ export declare function applyCommand(session: QuerySession, schema: GraphQLSchema, cmd: string): void;