import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
/**
 * This object represents a command run in a Vercel Sandbox session (v2 API).
 */
export type SessionCommand = {
    /**
     * The ID of the command.
     */
    id: string;
    /**
     * The name of the command.
     */
    name: string;
    /**
     * The arguments of the command.
     */
    args: Array<string>;
    /**
     * The current working directory of the command.
     */
    cwd: string;
    /**
     * The ID of the session associated with the command.
     */
    sessionId: string;
    /**
     * If the command did finish, the exit code.
     */
    exitCode: number | null;
    /**
     * When the command was started, in milliseconds since the epoch.
     */
    startedAt: number;
};
/** @internal */
export declare const SessionCommand$inboundSchema: z.ZodType<SessionCommand, z.ZodTypeDef, unknown>;
export declare function sessionCommandFromJSON(jsonString: string): SafeParseResult<SessionCommand, SDKValidationError>;
//# sourceMappingURL=sessioncommand.d.ts.map