import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; export declare class Commands extends ClientSDK { /** * Resolve a deployment's current manager and mint a five-minute command capability. Sender tokens can dispatch and observe commands only for this deployment. Receiver tokens can lease and complete commands only for the resolved Container or Daemon target. */ bootstrap(request: models.CommandBootstrapRequest, options?: RequestOptions): Promise; /** * Retrieve commands. Use for dashboard analytics and command history. */ list(request?: operations.ListCommandsRequest | undefined, options?: RequestOptions): Promise; /** * Create command metadata. Called by manager when processing commands. Returns project info for routing decisions. */ create(request?: models.CreateCommandRequest | undefined, options?: RequestOptions): Promise; /** * List distinct command names. Use for filter dropdowns in the dashboard. */ listNames(request?: operations.ListCommandNamesRequest | undefined, options?: RequestOptions): Promise; /** * List distinct deployments that have commands, including deployment group info. Use for filter dropdowns in the dashboard. */ listDeployments(request?: operations.ListCommandDeploymentsRequest | undefined, options?: RequestOptions): Promise; /** * Resolve which resource a command for this deployment would be addressed to, and how it would be delivered. Fails when the deployment has no command-capable resources, or more than one and no explicit target was named. */ resolveTarget(request: operations.ResolveCommandTargetRequest, options?: RequestOptions): Promise; /** * Update command state. Called by manager when command is dispatched or completes. */ update(request: operations.UpdateCommandRequest, options?: RequestOptions): Promise; /** * Retrieve a command by ID. */ get(request: operations.GetCommandRequest, options?: RequestOptions): Promise; /** * Atomically mark a command DISPATCHED unless it is already terminal. Returns whether the transition was applied. */ dispatch(request: operations.DispatchCommandRequest, options?: RequestOptions): Promise; /** * Atomically transition a command to a terminal state (SUCCEEDED, FAILED, or EXPIRED) unless it is already terminal. Returns whether the transition was applied. */ complete(request: operations.CompleteCommandRequest, options?: RequestOptions): Promise; /** * Atomically increment the command's attempt counter and return the new value. */ incrementAttempt(request: operations.IncrementCommandAttemptRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=commands.d.ts.map