import { z } from "#compiled/zod/index.js";

//#region src/api-client/validators.d.ts
type SessionMetaData = z.infer<typeof Session>;
declare const Session: z.ZodObject<{
  id: z.ZodString;
  memory: z.ZodNumber;
  vcpus: z.ZodNumber;
  region: z.ZodString;
  runtime: z.ZodString;
  timeout: z.ZodNumber;
  status: z.ZodEnum<{
    pending: "pending";
    running: "running";
    stopping: "stopping";
    stopped: "stopped";
    failed: "failed";
    aborted: "aborted";
    snapshotting: "snapshotting";
  }>;
  requestedAt: z.ZodNumber;
  startedAt: z.ZodOptional<z.ZodNumber>;
  requestedStopAt: z.ZodOptional<z.ZodNumber>;
  stoppedAt: z.ZodOptional<z.ZodNumber>;
  abortedAt: z.ZodOptional<z.ZodNumber>;
  duration: z.ZodOptional<z.ZodNumber>;
  sourceSnapshotId: z.ZodOptional<z.ZodString>;
  snapshottedAt: z.ZodOptional<z.ZodNumber>;
  createdAt: z.ZodNumber;
  cwd: z.ZodString;
  updatedAt: z.ZodNumber;
  interactivePort: z.ZodOptional<z.ZodNumber>;
  networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
    mode: z.ZodLiteral<"allow-all">;
  }, z.core.$loose>, z.ZodObject<{
    mode: z.ZodLiteral<"deny-all">;
  }, z.core.$loose>]>, z.ZodObject<{
    mode: z.ZodLiteral<"custom">;
    allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
    allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
    deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
    injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
      domain: z.ZodString;
      headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
      headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
      match: z.ZodOptional<z.ZodObject<{
        path: z.ZodOptional<z.ZodObject<{
          exact: z.ZodOptional<z.ZodString>;
          startsWith: z.ZodOptional<z.ZodString>;
          regex: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>>;
        method: z.ZodOptional<z.ZodArray<z.ZodString>>;
        queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
          key: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          value: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
        }, z.core.$strip>>>;
        headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
          key: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          value: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
        }, z.core.$strip>>>;
      }, z.core.$strip>>;
    }, z.core.$strip>>>;
    forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
      domain: z.ZodString;
      forwardURL: z.ZodString;
      match: z.ZodOptional<z.ZodObject<{
        path: z.ZodOptional<z.ZodObject<{
          exact: z.ZodOptional<z.ZodString>;
          startsWith: z.ZodOptional<z.ZodString>;
          regex: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>>;
        method: z.ZodOptional<z.ZodArray<z.ZodString>>;
        queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
          key: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          value: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
        }, z.core.$strip>>>;
        headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
          key: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          value: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
        }, z.core.$strip>>>;
      }, z.core.$strip>>;
    }, z.core.$strip>>>;
  }, z.core.$loose>]>>;
  activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
  networkTransfer: z.ZodOptional<z.ZodObject<{
    ingress: z.ZodNumber;
    egress: z.ZodNumber;
  }, z.core.$strip>>;
}, z.core.$strip>;
type SandboxRouteData = z.infer<typeof SandboxRoute>;
declare const SandboxRoute: z.ZodObject<{
  url: z.ZodString;
  subdomain: z.ZodString;
  port: z.ZodNumber;
}, z.core.$strip>;
type SnapshotMetadata = z.infer<typeof Snapshot>;
declare const Snapshot: z.ZodObject<{
  id: z.ZodString;
  sourceSessionId: z.ZodString;
  region: z.ZodString;
  status: z.ZodEnum<{
    failed: "failed";
    created: "created";
    deleted: "deleted";
  }>;
  sizeBytes: z.ZodNumber;
  expiresAt: z.ZodOptional<z.ZodNumber>;
  createdAt: z.ZodNumber;
  updatedAt: z.ZodNumber;
  lastUsedAt: z.ZodOptional<z.ZodNumber>;
  creationMethod: z.ZodOptional<z.ZodString>;
  parentId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
type CommandData = z.infer<typeof Command>;
declare const Command: z.ZodObject<{
  id: z.ZodString;
  name: z.ZodString;
  args: z.ZodArray<z.ZodString>;
  cwd: z.ZodString;
  sessionId: z.ZodString;
  exitCode: z.ZodNullable<z.ZodNumber>;
  startedAt: z.ZodNumber;
}, z.core.$strip>;
declare const SessionResponse: z.ZodObject<{
  session: z.ZodObject<{
    id: z.ZodString;
    memory: z.ZodNumber;
    vcpus: z.ZodNumber;
    region: z.ZodString;
    runtime: z.ZodString;
    timeout: z.ZodNumber;
    status: z.ZodEnum<{
      pending: "pending";
      running: "running";
      stopping: "stopping";
      stopped: "stopped";
      failed: "failed";
      aborted: "aborted";
      snapshotting: "snapshotting";
    }>;
    requestedAt: z.ZodNumber;
    startedAt: z.ZodOptional<z.ZodNumber>;
    requestedStopAt: z.ZodOptional<z.ZodNumber>;
    stoppedAt: z.ZodOptional<z.ZodNumber>;
    abortedAt: z.ZodOptional<z.ZodNumber>;
    duration: z.ZodOptional<z.ZodNumber>;
    sourceSnapshotId: z.ZodOptional<z.ZodString>;
    snapshottedAt: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodNumber;
    cwd: z.ZodString;
    updatedAt: z.ZodNumber;
    interactivePort: z.ZodOptional<z.ZodNumber>;
    networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
      mode: z.ZodLiteral<"allow-all">;
    }, z.core.$loose>, z.ZodObject<{
      mode: z.ZodLiteral<"deny-all">;
    }, z.core.$loose>]>, z.ZodObject<{
      mode: z.ZodLiteral<"custom">;
      allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
      allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
      deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
      injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
        domain: z.ZodString;
        headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
        headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
        match: z.ZodOptional<z.ZodObject<{
          path: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          method: z.ZodOptional<z.ZodArray<z.ZodString>>;
          queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
          headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
        }, z.core.$strip>>;
      }, z.core.$strip>>>;
      forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
        domain: z.ZodString;
        forwardURL: z.ZodString;
        match: z.ZodOptional<z.ZodObject<{
          path: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          method: z.ZodOptional<z.ZodArray<z.ZodString>>;
          queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
          headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
        }, z.core.$strip>>;
      }, z.core.$strip>>>;
    }, z.core.$loose>]>>;
    activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
    networkTransfer: z.ZodOptional<z.ZodObject<{
      ingress: z.ZodNumber;
      egress: z.ZodNumber;
    }, z.core.$strip>>;
  }, z.core.$loose>;
}, z.core.$strip>;
declare const InteractiveSessionResponse: z.ZodObject<{
  url: z.ZodString;
  token: z.ZodString;
}, z.core.$strip>;
declare const CommandResponse: z.ZodObject<{
  command: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    args: z.ZodArray<z.ZodString>;
    cwd: z.ZodString;
    sessionId: z.ZodString;
    exitCode: z.ZodNullable<z.ZodNumber>;
    startedAt: z.ZodNumber;
  }, z.core.$strip>;
}, z.core.$strip>;
type CommandFinishedData = z.infer<typeof CommandFinishedResponse>["command"];
declare const CommandFinishedResponse: z.ZodObject<{
  command: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    args: z.ZodArray<z.ZodString>;
    cwd: z.ZodString;
    sessionId: z.ZodString;
    startedAt: z.ZodNumber;
    exitCode: z.ZodNumber;
  }, z.core.$strip>;
}, z.core.$strip>;
declare const LogError: z.ZodObject<{
  stream: z.ZodLiteral<"error">;
  data: z.ZodObject<{
    code: z.ZodString;
    message: z.ZodString;
  }, z.core.$strip>;
}, z.core.$strip>;
declare const LogLine: z.ZodDiscriminatedUnion<[z.ZodObject<{
  data: z.ZodString;
  stream: z.ZodLiteral<"stdout">;
}, z.core.$strip>, z.ZodObject<{
  data: z.ZodString;
  stream: z.ZodLiteral<"stderr">;
}, z.core.$strip>, z.ZodObject<{
  stream: z.ZodLiteral<"error">;
  data: z.ZodObject<{
    code: z.ZodString;
    message: z.ZodString;
  }, z.core.$strip>;
}, z.core.$strip>], "stream">;
type LogLineData = z.infer<typeof LogLine>;
type LogOutputLine = Exclude<LogLineData, z.infer<typeof LogError>>;
declare const SnapshotTreeNode: z.ZodObject<{
  snapshot: z.ZodObject<{
    id: z.ZodString;
    sourceSessionId: z.ZodString;
    region: z.ZodString;
    status: z.ZodEnum<{
      failed: "failed";
      created: "created";
      deleted: "deleted";
    }>;
    sizeBytes: z.ZodNumber;
    expiresAt: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
    lastUsedAt: z.ZodOptional<z.ZodNumber>;
    creationMethod: z.ZodOptional<z.ZodString>;
    parentId: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>;
  siblings: z.ZodArray<z.ZodObject<{
    id: z.ZodString;
    sourceSessionId: z.ZodString;
    region: z.ZodString;
    status: z.ZodEnum<{
      failed: "failed";
      created: "created";
      deleted: "deleted";
    }>;
    sizeBytes: z.ZodNumber;
    expiresAt: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
    lastUsedAt: z.ZodOptional<z.ZodNumber>;
    creationMethod: z.ZodOptional<z.ZodString>;
    parentId: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>>;
  count: z.ZodString;
}, z.core.$strip>;
type SnapshotTreeNodeData = z.infer<typeof SnapshotTreeNode>;
declare const CreateSnapshotResponse: z.ZodObject<{
  snapshot: z.ZodObject<{
    id: z.ZodString;
    sourceSessionId: z.ZodString;
    region: z.ZodString;
    status: z.ZodEnum<{
      failed: "failed";
      created: "created";
      deleted: "deleted";
    }>;
    sizeBytes: z.ZodNumber;
    expiresAt: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
    lastUsedAt: z.ZodOptional<z.ZodNumber>;
    creationMethod: z.ZodOptional<z.ZodString>;
    parentId: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>;
  session: z.ZodObject<{
    id: z.ZodString;
    memory: z.ZodNumber;
    vcpus: z.ZodNumber;
    region: z.ZodString;
    runtime: z.ZodString;
    timeout: z.ZodNumber;
    status: z.ZodEnum<{
      pending: "pending";
      running: "running";
      stopping: "stopping";
      stopped: "stopped";
      failed: "failed";
      aborted: "aborted";
      snapshotting: "snapshotting";
    }>;
    requestedAt: z.ZodNumber;
    startedAt: z.ZodOptional<z.ZodNumber>;
    requestedStopAt: z.ZodOptional<z.ZodNumber>;
    stoppedAt: z.ZodOptional<z.ZodNumber>;
    abortedAt: z.ZodOptional<z.ZodNumber>;
    duration: z.ZodOptional<z.ZodNumber>;
    sourceSnapshotId: z.ZodOptional<z.ZodString>;
    snapshottedAt: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodNumber;
    cwd: z.ZodString;
    updatedAt: z.ZodNumber;
    interactivePort: z.ZodOptional<z.ZodNumber>;
    networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
      mode: z.ZodLiteral<"allow-all">;
    }, z.core.$loose>, z.ZodObject<{
      mode: z.ZodLiteral<"deny-all">;
    }, z.core.$loose>]>, z.ZodObject<{
      mode: z.ZodLiteral<"custom">;
      allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
      allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
      deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
      injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
        domain: z.ZodString;
        headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
        headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
        match: z.ZodOptional<z.ZodObject<{
          path: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          method: z.ZodOptional<z.ZodArray<z.ZodString>>;
          queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
          headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
        }, z.core.$strip>>;
      }, z.core.$strip>>>;
      forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
        domain: z.ZodString;
        forwardURL: z.ZodString;
        match: z.ZodOptional<z.ZodObject<{
          path: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          method: z.ZodOptional<z.ZodArray<z.ZodString>>;
          queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
          headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
        }, z.core.$strip>>;
      }, z.core.$strip>>>;
    }, z.core.$loose>]>>;
    activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
    networkTransfer: z.ZodOptional<z.ZodObject<{
      ingress: z.ZodNumber;
      egress: z.ZodNumber;
    }, z.core.$strip>>;
  }, z.core.$loose>;
}, z.core.$strip>;
declare const SnapshotResponse: z.ZodObject<{
  snapshot: z.ZodObject<{
    id: z.ZodString;
    sourceSessionId: z.ZodString;
    region: z.ZodString;
    status: z.ZodEnum<{
      failed: "failed";
      created: "created";
      deleted: "deleted";
    }>;
    sizeBytes: z.ZodNumber;
    expiresAt: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
    lastUsedAt: z.ZodOptional<z.ZodNumber>;
    creationMethod: z.ZodOptional<z.ZodString>;
    parentId: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>;
}, z.core.$strip>;
declare const Sandbox: z.ZodObject<{
  name: z.ZodString;
  persistent: z.ZodBoolean;
  region: z.ZodOptional<z.ZodString>;
  vcpus: z.ZodOptional<z.ZodNumber>;
  memory: z.ZodOptional<z.ZodNumber>;
  runtime: z.ZodOptional<z.ZodString>;
  timeout: z.ZodOptional<z.ZodNumber>;
  networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
    mode: z.ZodLiteral<"allow-all">;
  }, z.core.$loose>, z.ZodObject<{
    mode: z.ZodLiteral<"deny-all">;
  }, z.core.$loose>]>, z.ZodObject<{
    mode: z.ZodLiteral<"custom">;
    allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
    allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
    deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
    injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
      domain: z.ZodString;
      headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
      headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
      match: z.ZodOptional<z.ZodObject<{
        path: z.ZodOptional<z.ZodObject<{
          exact: z.ZodOptional<z.ZodString>;
          startsWith: z.ZodOptional<z.ZodString>;
          regex: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>>;
        method: z.ZodOptional<z.ZodArray<z.ZodString>>;
        queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
          key: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          value: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
        }, z.core.$strip>>>;
        headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
          key: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          value: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
        }, z.core.$strip>>>;
      }, z.core.$strip>>;
    }, z.core.$strip>>>;
    forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
      domain: z.ZodString;
      forwardURL: z.ZodString;
      match: z.ZodOptional<z.ZodObject<{
        path: z.ZodOptional<z.ZodObject<{
          exact: z.ZodOptional<z.ZodString>;
          startsWith: z.ZodOptional<z.ZodString>;
          regex: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>>;
        method: z.ZodOptional<z.ZodArray<z.ZodString>>;
        queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
          key: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          value: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
        }, z.core.$strip>>>;
        headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
          key: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          value: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
        }, z.core.$strip>>>;
      }, z.core.$strip>>;
    }, z.core.$strip>>>;
  }, z.core.$loose>]>>;
  totalEgressBytes: z.ZodOptional<z.ZodNumber>;
  totalIngressBytes: z.ZodOptional<z.ZodNumber>;
  totalActiveCpuDurationMs: z.ZodOptional<z.ZodNumber>;
  totalDurationMs: z.ZodOptional<z.ZodNumber>;
  createdAt: z.ZodNumber;
  updatedAt: z.ZodNumber;
  currentSessionId: z.ZodString;
  currentSnapshotId: z.ZodOptional<z.ZodString>;
  status: z.ZodEnum<{
    pending: "pending";
    running: "running";
    stopping: "stopping";
    stopped: "stopped";
    failed: "failed";
    aborted: "aborted";
    snapshotting: "snapshotting";
  }>;
  statusUpdatedAt: z.ZodOptional<z.ZodNumber>;
  cwd: z.ZodOptional<z.ZodString>;
  tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
  snapshotExpiration: z.ZodOptional<z.ZodNumber>;
  keepLastSnapshots: z.ZodOptional<z.ZodObject<{
    count: z.ZodNumber;
    expiration: z.ZodOptional<z.ZodNumber>;
    deleteEvicted: z.ZodOptional<z.ZodBoolean>;
  }, z.core.$strip>>;
}, z.core.$strip>;
type SandboxMetaData = z.infer<typeof Sandbox>;
declare const StopSessionResponse: z.ZodObject<{
  session: z.ZodObject<{
    id: z.ZodString;
    memory: z.ZodNumber;
    vcpus: z.ZodNumber;
    region: z.ZodString;
    runtime: z.ZodString;
    timeout: z.ZodNumber;
    status: z.ZodEnum<{
      pending: "pending";
      running: "running";
      stopping: "stopping";
      stopped: "stopped";
      failed: "failed";
      aborted: "aborted";
      snapshotting: "snapshotting";
    }>;
    requestedAt: z.ZodNumber;
    startedAt: z.ZodOptional<z.ZodNumber>;
    requestedStopAt: z.ZodOptional<z.ZodNumber>;
    stoppedAt: z.ZodOptional<z.ZodNumber>;
    abortedAt: z.ZodOptional<z.ZodNumber>;
    duration: z.ZodOptional<z.ZodNumber>;
    sourceSnapshotId: z.ZodOptional<z.ZodString>;
    snapshottedAt: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodNumber;
    cwd: z.ZodString;
    updatedAt: z.ZodNumber;
    interactivePort: z.ZodOptional<z.ZodNumber>;
    networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
      mode: z.ZodLiteral<"allow-all">;
    }, z.core.$loose>, z.ZodObject<{
      mode: z.ZodLiteral<"deny-all">;
    }, z.core.$loose>]>, z.ZodObject<{
      mode: z.ZodLiteral<"custom">;
      allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
      allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
      deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
      injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
        domain: z.ZodString;
        headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
        headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
        match: z.ZodOptional<z.ZodObject<{
          path: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          method: z.ZodOptional<z.ZodArray<z.ZodString>>;
          queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
          headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
        }, z.core.$strip>>;
      }, z.core.$strip>>>;
      forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
        domain: z.ZodString;
        forwardURL: z.ZodString;
        match: z.ZodOptional<z.ZodObject<{
          path: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          method: z.ZodOptional<z.ZodArray<z.ZodString>>;
          queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
          headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
        }, z.core.$strip>>;
      }, z.core.$strip>>>;
    }, z.core.$loose>]>>;
    activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
    networkTransfer: z.ZodOptional<z.ZodObject<{
      ingress: z.ZodNumber;
      egress: z.ZodNumber;
    }, z.core.$strip>>;
  }, z.core.$loose>;
  sandbox: z.ZodOptional<z.ZodObject<{
    name: z.ZodString;
    persistent: z.ZodBoolean;
    region: z.ZodOptional<z.ZodString>;
    vcpus: z.ZodOptional<z.ZodNumber>;
    memory: z.ZodOptional<z.ZodNumber>;
    runtime: z.ZodOptional<z.ZodString>;
    timeout: z.ZodOptional<z.ZodNumber>;
    networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
      mode: z.ZodLiteral<"allow-all">;
    }, z.core.$loose>, z.ZodObject<{
      mode: z.ZodLiteral<"deny-all">;
    }, z.core.$loose>]>, z.ZodObject<{
      mode: z.ZodLiteral<"custom">;
      allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
      allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
      deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>;
      injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
        domain: z.ZodString;
        headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
        headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
        match: z.ZodOptional<z.ZodObject<{
          path: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          method: z.ZodOptional<z.ZodArray<z.ZodString>>;
          queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
          headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
        }, z.core.$strip>>;
      }, z.core.$strip>>>;
      forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
        domain: z.ZodString;
        forwardURL: z.ZodString;
        match: z.ZodOptional<z.ZodObject<{
          path: z.ZodOptional<z.ZodObject<{
            exact: z.ZodOptional<z.ZodString>;
            startsWith: z.ZodOptional<z.ZodString>;
            regex: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>>;
          method: z.ZodOptional<z.ZodArray<z.ZodString>>;
          queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
          headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            key: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
            value: z.ZodOptional<z.ZodObject<{
              exact: z.ZodOptional<z.ZodString>;
              startsWith: z.ZodOptional<z.ZodString>;
              regex: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>;
          }, z.core.$strip>>>;
        }, z.core.$strip>>;
      }, z.core.$strip>>>;
    }, z.core.$loose>]>>;
    totalEgressBytes: z.ZodOptional<z.ZodNumber>;
    totalIngressBytes: z.ZodOptional<z.ZodNumber>;
    totalActiveCpuDurationMs: z.ZodOptional<z.ZodNumber>;
    totalDurationMs: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
    currentSessionId: z.ZodString;
    currentSnapshotId: z.ZodOptional<z.ZodString>;
    status: z.ZodEnum<{
      pending: "pending";
      running: "running";
      stopping: "stopping";
      stopped: "stopped";
      failed: "failed";
      aborted: "aborted";
      snapshotting: "snapshotting";
    }>;
    statusUpdatedAt: z.ZodOptional<z.ZodNumber>;
    cwd: z.ZodOptional<z.ZodString>;
    tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    snapshotExpiration: z.ZodOptional<z.ZodNumber>;
    keepLastSnapshots: z.ZodOptional<z.ZodObject<{
      count: z.ZodNumber;
      expiration: z.ZodOptional<z.ZodNumber>;
      deleteEvicted: z.ZodOptional<z.ZodBoolean>;
    }, z.core.$strip>>;
  }, z.core.$strip>>;
  snapshot: z.ZodOptional<z.ZodObject<{
    id: z.ZodString;
    sourceSessionId: z.ZodString;
    region: z.ZodString;
    status: z.ZodEnum<{
      failed: "failed";
      created: "created";
      deleted: "deleted";
    }>;
    sizeBytes: z.ZodNumber;
    expiresAt: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
    lastUsedAt: z.ZodOptional<z.ZodNumber>;
    creationMethod: z.ZodOptional<z.ZodString>;
    parentId: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>>;
}, z.core.$strip>;
//#endregion
export { Command, CommandData, CommandFinishedData, CommandFinishedResponse, CommandResponse, CreateSnapshotResponse, InteractiveSessionResponse, LogError, LogLine, LogLineData, LogOutputLine, Sandbox, SandboxMetaData, SandboxRoute, SandboxRouteData, Session, SessionMetaData, SessionResponse, Snapshot, SnapshotMetadata, SnapshotResponse, SnapshotTreeNode, SnapshotTreeNodeData, StopSessionResponse };
//# sourceMappingURL=validators.d.ts.map