import { z } from 'zod';
import { type APIClient } from '../api.ts';
export declare const PauseResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    success: z.ZodLiteral<false>;
    message: z.ZodString;
    code: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
    success: z.ZodLiteral<true>;
    sandboxId: z.ZodString;
    status: z.ZodString;
    checkpointId: z.ZodOptional<z.ZodString>;
    terminatesAt: z.ZodOptional<z.ZodString>;
}, z.core.$strip>], "success">;
export declare const SandboxPauseParamsSchema: z.ZodObject<{
    sandboxId: z.ZodString;
    orgId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type SandboxPauseParams = z.infer<typeof SandboxPauseParamsSchema>;
/** Result returned from pausing a sandbox */
export interface SandboxPauseResult {
    /** The sandbox ID that was paused */
    sandboxId: string;
    /** New status (typically "suspended") */
    status: string;
    /** Checkpoint ID created during pause */
    checkpointId?: string;
    /** ISO 8601 timestamp when sandbox will auto-terminate if not resumed (omitted if no paused timeout) */
    terminatesAt?: string;
}
/**
 * Pauses a running sandbox, creating a checkpoint of its current state.
 *
 * @param client - The API client to use for the request
 * @param params - Parameters including the sandbox ID to pause
 * @returns Pause result including terminatesAt if a paused timeout is configured
 * @throws {SandboxResponseError} If the sandbox is not found or pause fails
 */
export declare function sandboxPause(client: APIClient, params: SandboxPauseParams): Promise<SandboxPauseResult>;
//# sourceMappingURL=pause.d.ts.map