import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { NamedSandbox } from "./namedsandbox.js";
import { SandboxPublicRoute } from "./sandboxpublicroute.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
import { Session } from "./session.js";
export type GetNamedSandboxRequest = {
    /**
     * Name for the sandbox. Must be unique per project and URL-safe (alphanumeric, hyphens, underscores).
     */
    name: string;
    /**
     * The project ID or name (required when not using OIDC token).
     */
    projectId?: string | undefined;
    /**
     * Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
     */
    resume?: boolean | 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;
};
export type GetNamedSandboxResponseBody = {
    /**
     * This object contains information related to a Vercel NamedSandbox.
     */
    sandbox: NamedSandbox;
    /**
     * This object contains information related to a Vercel Sandbox Session. v2 endpoints return "session" instead of "sandbox" as the response wrapper key.
     */
    session: Session;
    routes: Array<SandboxPublicRoute>;
    resumed: boolean;
};
/** @internal */
export type GetNamedSandboxRequest$Outbound = {
    name: string;
    projectId?: string | undefined;
    resume: boolean;
    teamId?: string | undefined;
    slug?: string | undefined;
};
/** @internal */
export declare const GetNamedSandboxRequest$outboundSchema: z.ZodType<GetNamedSandboxRequest$Outbound, z.ZodTypeDef, GetNamedSandboxRequest>;
export declare function getNamedSandboxRequestToJSON(getNamedSandboxRequest: GetNamedSandboxRequest): string;
/** @internal */
export declare const GetNamedSandboxResponseBody$inboundSchema: z.ZodType<GetNamedSandboxResponseBody, z.ZodTypeDef, unknown>;
export declare function getNamedSandboxResponseBodyFromJSON(jsonString: string): SafeParseResult<GetNamedSandboxResponseBody, SDKValidationError>;
//# sourceMappingURL=getnamedsandboxop.d.ts.map