import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
import { SessionCommand } from "./sessioncommand.js";
/**
 * If set to "true", the request will block until the command finishes execution. Useful for synchronously waiting for command completion.
 */
export declare const Wait: {
    readonly True: "true";
    readonly False: "false";
};
/**
 * If set to "true", the request will block until the command finishes execution. Useful for synchronously waiting for command completion.
 */
export type Wait = ClosedEnum<typeof Wait>;
export type GetSessionCommandRequest = {
    /**
     * The unique identifier of the session containing the command.
     */
    sessionId: string;
    /**
     * The unique identifier of the command to retrieve.
     */
    cmdId: string;
    /**
     * If set to "true", the request will block until the command finishes execution. Useful for synchronously waiting for command completion.
     */
    wait?: Wait | undefined;
    /**
     * The Team identifier to perform the request on behalf of.
     */
    teamId?: string | undefined;
    /**
     * The Team slug to perform the request on behalf of.
     */
    slug?: string | undefined;
};
/**
 * The command data along with the exit code if the command did finish.
 */
export type GetSessionCommandResponseBody = {
    /**
     * This object represents a command run in a Vercel Sandbox session (v2 API).
     */
    command: SessionCommand;
};
/** @internal */
export declare const Wait$outboundSchema: z.ZodNativeEnum<typeof Wait>;
/** @internal */
export type GetSessionCommandRequest$Outbound = {
    sessionId: string;
    cmdId: string;
    wait: string;
    teamId?: string | undefined;
    slug?: string | undefined;
};
/** @internal */
export declare const GetSessionCommandRequest$outboundSchema: z.ZodType<GetSessionCommandRequest$Outbound, z.ZodTypeDef, GetSessionCommandRequest>;
export declare function getSessionCommandRequestToJSON(getSessionCommandRequest: GetSessionCommandRequest): string;
/** @internal */
export declare const GetSessionCommandResponseBody$inboundSchema: z.ZodType<GetSessionCommandResponseBody, z.ZodTypeDef, unknown>;
export declare function getSessionCommandResponseBodyFromJSON(jsonString: string): SafeParseResult<GetSessionCommandResponseBody, SDKValidationError>;
//# sourceMappingURL=getsessioncommandop.d.ts.map