modal 0.7.5 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -140,6 +140,12 @@ declare enum EndpointInputModality {
140
140
  ENDPOINT_INPUT_MODALITY_AUDIO = 3,
141
141
  UNRECOGNIZED = -1
142
142
  }
143
+ declare enum EndpointStopSource {
144
+ ENDPOINT_STOP_SOURCE_UNSPECIFIED = 0,
145
+ ENDPOINT_STOP_SOURCE_CLI = 1,
146
+ ENDPOINT_STOP_SOURCE_WEB = 2,
147
+ UNRECOGNIZED = -1
148
+ }
143
149
  declare enum EnvironmentRole {
144
150
  ENVIRONMENT_ROLE_UNSPECIFIED = 0,
145
151
  ENVIRONMENT_ROLE_VIEWER = 1,
@@ -1389,6 +1395,30 @@ interface EndpointHuggingFaceModelSource {
1389
1395
  huggingfaceToken: string;
1390
1396
  }
1391
1397
  declare const EndpointHuggingFaceModelSource: MessageFns$1<EndpointHuggingFaceModelSource>;
1398
+ interface EndpointListItem {
1399
+ endpointId: string;
1400
+ name: string;
1401
+ description: string;
1402
+ activeDeploymentId: string;
1403
+ updatedAt: number;
1404
+ metadata: EndpointMetadata | undefined;
1405
+ }
1406
+ declare const EndpointListItem: MessageFns$1<EndpointListItem>;
1407
+ interface EndpointListRequest {
1408
+ environmentName: string;
1409
+ pagination: ListPagination | undefined;
1410
+ }
1411
+ declare const EndpointListRequest: MessageFns$1<EndpointListRequest>;
1412
+ interface EndpointListResponse {
1413
+ items: EndpointListItem[];
1414
+ environmentName: string;
1415
+ }
1416
+ declare const EndpointListResponse: MessageFns$1<EndpointListResponse>;
1417
+ interface EndpointMetadata {
1418
+ name: string;
1419
+ creationInfo: CreationInfo | undefined;
1420
+ }
1421
+ declare const EndpointMetadata: MessageFns$1<EndpointMetadata>;
1392
1422
  interface EndpointModalVolumeModelSource {
1393
1423
  volumeId: string;
1394
1424
  modelPath: string;
@@ -1399,6 +1429,14 @@ interface EndpointModelSource {
1399
1429
  custom?: EndpointCustomModelSource | undefined;
1400
1430
  }
1401
1431
  declare const EndpointModelSource: MessageFns$1<EndpointModelSource>;
1432
+ interface EndpointStopRequest {
1433
+ endpointId: string;
1434
+ source: EndpointStopSource;
1435
+ }
1436
+ declare const EndpointStopRequest: MessageFns$1<EndpointStopRequest>;
1437
+ interface EndpointStopResponse {
1438
+ }
1439
+ declare const EndpointStopResponse: MessageFns$1<EndpointStopResponse>;
1402
1440
  interface EnvironmentCreateRequest {
1403
1441
  name: string;
1404
1442
  isManaged: boolean;
@@ -2972,6 +3010,7 @@ interface Sandbox$1 {
2972
3010
  * (tunnels and auth proxy).
2973
3011
  */
2974
3012
  inboundCidrAllowlist: string[];
3013
+ environmentVariables: StringMap | undefined;
2975
3014
  }
2976
3015
  declare const Sandbox$1: MessageFns$1<Sandbox$1>;
2977
3016
  interface SandboxCreateConnectTokenRequest {
@@ -3422,6 +3461,12 @@ interface SharedVolumeRemoveFileRequest {
3422
3461
  recursive: boolean;
3423
3462
  }
3424
3463
  declare const SharedVolumeRemoveFileRequest: MessageFns$1<SharedVolumeRemoveFileRequest>;
3464
+ interface StringMap {
3465
+ contents: {
3466
+ [key: string]: string;
3467
+ };
3468
+ }
3469
+ declare const StringMap: MessageFns$1<StringMap>;
3425
3470
  interface SystemErrorMessage {
3426
3471
  errorCode: SystemErrorCode;
3427
3472
  errorMessage: string;
@@ -4483,6 +4528,22 @@ declare const ModalClientDefinition: {
4483
4528
  readonly responseStream: false;
4484
4529
  readonly options: {};
4485
4530
  };
4531
+ readonly endpointList: {
4532
+ readonly name: "EndpointList";
4533
+ readonly requestType: MessageFns$1<EndpointListRequest>;
4534
+ readonly requestStream: false;
4535
+ readonly responseType: MessageFns$1<EndpointListResponse>;
4536
+ readonly responseStream: false;
4537
+ readonly options: {};
4538
+ };
4539
+ readonly endpointStop: {
4540
+ readonly name: "EndpointStop";
4541
+ readonly requestType: MessageFns$1<EndpointStopRequest>;
4542
+ readonly requestStream: false;
4543
+ readonly responseType: MessageFns$1<EndpointStopResponse>;
4544
+ readonly responseStream: false;
4545
+ readonly options: {};
4546
+ };
4486
4547
  /** Environments */
4487
4548
  readonly environmentCreate: {
4488
4549
  readonly name: "EnvironmentCreate";
@@ -5885,20 +5946,45 @@ declare class VolumeService {
5885
5946
  */
5886
5947
  delete(name: string, params?: VolumeDeleteParams): Promise<void>;
5887
5948
  }
5949
+ /**
5950
+ * Resolved mount configuration stored on a Volume. `subPath: undefined` means "mount the
5951
+ * whole volume" (no sub-path set on the resulting VolumeMount proto).
5952
+ */
5953
+ type ResolvedMountOptions = {
5954
+ readOnly: boolean;
5955
+ subPath: string | undefined;
5956
+ };
5888
5957
  /** Volumes provide persistent storage that can be mounted in Modal {@link Function_ Function}s. */
5889
5958
  declare class Volume {
5890
5959
  #private;
5891
5960
  readonly volumeId: string;
5892
5961
  readonly name?: string;
5893
- private _readOnly;
5962
+ /**
5963
+ * @hidden
5964
+ * @internal
5965
+ */
5966
+ readonly _mountOptions: ResolvedMountOptions;
5894
5967
  /** @ignore */
5895
- constructor(volumeId: string, name?: string, readOnly?: boolean, ephemeralHbManager?: EphemeralHeartbeatManager);
5968
+ constructor(volumeId: string, name?: string, mountOptions?: ResolvedMountOptions, ephemeralHbManager?: EphemeralHeartbeatManager);
5896
5969
  /**
5897
5970
  * @deprecated Use {@link VolumeService#fromName client.volumes.fromName()} instead.
5898
5971
  */
5899
5972
  static fromName(name: string, options?: VolumeFromNameParams): Promise<Volume>;
5900
- /** Configure Volume to mount as read-only. */
5973
+ /**
5974
+ * Configure Volume to mount as read-only.
5975
+ *
5976
+ * @deprecated Use {@link withMountOptions} with `{ readOnly: true }` instead.
5977
+ */
5901
5978
  readOnly(): Volume;
5979
+ /**
5980
+ * Configure options used when mounting this Volume. Fields left undefined preserve their value
5981
+ * from any previous withMountOptions call on the same Volume (stacking).
5982
+ */
5983
+ withMountOptions(params?: VolumeMountOptions): Volume;
5984
+ /**
5985
+ * @deprecated Inspect mount configuration at the call site that configured it instead.
5986
+ * Future versions of this SDK may remove direct mount-option accessors on Volume.
5987
+ */
5902
5988
  get isReadOnly(): boolean;
5903
5989
  /**
5904
5990
  * @deprecated Use {@link VolumeService#ephemeral client.volumes.ephemeral()} instead.
@@ -5907,6 +5993,11 @@ declare class Volume {
5907
5993
  /** Delete the ephemeral Volume. Only usable with emphemeral Volumes. */
5908
5994
  closeEphemeral(): void;
5909
5995
  }
5996
+ /** Options for mounting a {@link Volume}. */
5997
+ type VolumeMountOptions = {
5998
+ readOnly?: boolean;
5999
+ subPath?: string;
6000
+ };
5910
6001
 
5911
6002
  /** Optional parameters for {@link ClsService#fromName client.cls.fromName()}. */
5912
6003
  type ClsFromNameParams = {
@@ -6519,6 +6610,173 @@ declare class SandboxFile {
6519
6610
  close(): Promise<void>;
6520
6611
  }
6521
6612
 
6613
+ /** Type of a filesystem entry. */
6614
+ type FileType = "file" | "directory" | "symlink";
6615
+ /** Metadata for a file or directory entry in a Sandbox. */
6616
+ interface FileInfo {
6617
+ readonly name: string;
6618
+ readonly path: string;
6619
+ readonly type: FileType;
6620
+ readonly size: number;
6621
+ readonly mode: number;
6622
+ readonly permissions: string;
6623
+ readonly owner: string;
6624
+ readonly group: string;
6625
+ /** Unix epoch seconds. */
6626
+ readonly modifiedTime: number;
6627
+ readonly symlinkTarget: string | null;
6628
+ }
6629
+ /** Namespace for Sandbox filesystem APIs. */
6630
+ declare class SandboxFilesystem {
6631
+ private readonly sandbox;
6632
+ /** @ignore */
6633
+ constructor(sandbox: Sandbox);
6634
+ /**
6635
+ * Copy a local file into the Sandbox.
6636
+ *
6637
+ * `remotePath` must be an absolute path to a file in the Sandbox.
6638
+ * Parent directories are created if needed. The remote file is overwritten
6639
+ * if it already exists.
6640
+ *
6641
+ * @throws {SandboxFilesystemNotADirectoryError} a parent component of `remotePath` is not a directory.
6642
+ * @throws {SandboxFilesystemIsADirectoryError} `remotePath` points to a directory.
6643
+ * @throws {SandboxFilesystemPermissionError} write permission is denied in the Sandbox.
6644
+ * @throws {SandboxFilesystemError} the command fails for any other reason.
6645
+ * @throws {Error} `localPath` does not exist, is a directory, or cannot be read (`ENOENT`, `EISDIR`, `EACCES`).
6646
+ */
6647
+ copyFromLocal(localPath: string, remotePath: string): Promise<void>;
6648
+ /**
6649
+ * Copy a file from the Sandbox to a local path.
6650
+ *
6651
+ * `remotePath` must be an absolute path to a file in the Sandbox.
6652
+ * Parent directories for `localPath` are created if needed. The local file
6653
+ * is overwritten if it already exists.
6654
+ *
6655
+ * @throws {SandboxFilesystemNotFoundError} the remote path does not exist.
6656
+ * @throws {SandboxFilesystemIsADirectoryError} the remote path points to a directory.
6657
+ * @throws {SandboxFilesystemFileTooLargeError} the file exceeds the read size limit.
6658
+ * @throws {SandboxFilesystemPermissionError} read permission is denied in the Sandbox.
6659
+ * @throws {SandboxFilesystemError} the command fails for any other reason.
6660
+ * @throws {Error} `localPath` points to a directory, or writing it is not permitted.
6661
+ */
6662
+ copyToLocal(remotePath: string, localPath: string): Promise<void>;
6663
+ /**
6664
+ * List files and directories in a Sandbox directory.
6665
+ *
6666
+ * `remotePath` must be an absolute path to a directory in the Sandbox.
6667
+ * Returns an array of {@link FileInfo} objects sorted by name.
6668
+ *
6669
+ * @throws {SandboxFilesystemNotFoundError} the path does not exist.
6670
+ * @throws {SandboxFilesystemNotADirectoryError} the path is not a directory.
6671
+ * @throws {SandboxFilesystemPermissionError} read permission is denied.
6672
+ * @throws {SandboxFilesystemError} the command fails for any other reason.
6673
+ */
6674
+ listFiles(remotePath: string): Promise<FileInfo[]>;
6675
+ /**
6676
+ * Create a new directory in the Sandbox.
6677
+ *
6678
+ * `remotePath` must be an absolute path in the Sandbox.
6679
+ *
6680
+ * When `createParents` is `true` (the default), any missing parent
6681
+ * directories are created and the call is idempotent (succeeds if the
6682
+ * directory already exists). When `createParents` is `false`, the immediate
6683
+ * parent must already exist and the path must not already exist.
6684
+ *
6685
+ * @throws {SandboxFilesystemNotFoundError} the parent does not exist and `createParents` is `false`.
6686
+ * @throws {SandboxFilesystemPathAlreadyExistsError} the path already exists and `createParents` is `false`.
6687
+ * @throws {SandboxFilesystemNotADirectoryError} a path component is not a directory.
6688
+ * @throws {SandboxFilesystemPermissionError} creation is not permitted.
6689
+ * @throws {InvalidError} the operation is not supported by the mount.
6690
+ * @throws {SandboxFilesystemError} the command fails for any other reason.
6691
+ */
6692
+ makeDirectory(remotePath: string, options?: {
6693
+ createParents?: boolean;
6694
+ }): Promise<void>;
6695
+ /**
6696
+ * Read a file from the Sandbox and return its contents as bytes.
6697
+ *
6698
+ * `remotePath` must be an absolute path to a file in the Sandbox.
6699
+ *
6700
+ * @throws {SandboxFilesystemNotFoundError} the path does not exist.
6701
+ * @throws {SandboxFilesystemIsADirectoryError} the path points to a directory.
6702
+ * @throws {SandboxFilesystemFileTooLargeError} the file exceeds the read size limit.
6703
+ * @throws {SandboxFilesystemPermissionError} read permission is denied.
6704
+ * @throws {SandboxFilesystemError} the command fails for any other reason.
6705
+ */
6706
+ readBytes(remotePath: string): Promise<Uint8Array>;
6707
+ /**
6708
+ * Read a file from the Sandbox and return its contents as a UTF-8 string.
6709
+ *
6710
+ * `remotePath` must be an absolute path to a file in the Sandbox.
6711
+ *
6712
+ * @throws {SandboxFilesystemNotFoundError} the path does not exist.
6713
+ * @throws {SandboxFilesystemIsADirectoryError} the path points to a directory.
6714
+ * @throws {SandboxFilesystemFileTooLargeError} the file exceeds the read size limit.
6715
+ * @throws {SandboxFilesystemPermissionError} read permission is denied.
6716
+ * @throws {SandboxFilesystemError} the command fails for any other reason.
6717
+ */
6718
+ readText(remotePath: string): Promise<string>;
6719
+ /**
6720
+ * Remove a file or directory in the Sandbox.
6721
+ *
6722
+ * `remotePath` must be an absolute path in the Sandbox. When `remotePath`
6723
+ * is a directory and `recursive` is `false` (the default), it is removed
6724
+ * only if empty. When `recursive` is `true`, the directory and all its
6725
+ * contents are removed. Recursive removal is not supported on all mounts —
6726
+ * `CloudBucketMount` does not support it.
6727
+ *
6728
+ * @throws {SandboxFilesystemNotFoundError} the path does not exist.
6729
+ * @throws {SandboxFilesystemDirectoryNotEmptyError} `recursive` is `false` and the directory is not empty.
6730
+ * @throws {SandboxFilesystemPermissionError} removal is not permitted.
6731
+ * @throws {InvalidError} the operation is not supported by the mount.
6732
+ * @throws {SandboxFilesystemError} the command fails for any other reason.
6733
+ */
6734
+ remove(remotePath: string, options?: {
6735
+ recursive?: boolean;
6736
+ }): Promise<void>;
6737
+ /**
6738
+ * Return metadata for a single file, directory, or symlink in the Sandbox.
6739
+ *
6740
+ * `remotePath` must be an absolute path in the Sandbox. If `remotePath` is
6741
+ * a symlink, the returned {@link FileInfo} describes the symlink itself, not
6742
+ * the target it points to.
6743
+ *
6744
+ * @throws {SandboxFilesystemNotFoundError} the path does not exist.
6745
+ * @throws {SandboxFilesystemNotADirectoryError} a non-leaf component of the path is not a directory.
6746
+ * @throws {SandboxFilesystemPermissionError} a path component is not searchable.
6747
+ * @throws {SandboxFilesystemError} the command fails for any other reason.
6748
+ */
6749
+ stat(remotePath: string): Promise<FileInfo>;
6750
+ /**
6751
+ * Write binary content to a file in the Sandbox.
6752
+ *
6753
+ * `remotePath` must be an absolute path to a file in the Sandbox.
6754
+ * Parent directories are created if needed. The remote file is overwritten
6755
+ * if it already exists.
6756
+ *
6757
+ * @throws {TypeError} `data` is not a `Uint8Array`, `ArrayBuffer`, or `Buffer`.
6758
+ * @throws {SandboxFilesystemNotADirectoryError} a parent component of `remotePath` is not a directory.
6759
+ * @throws {SandboxFilesystemIsADirectoryError} `remotePath` points to a directory.
6760
+ * @throws {SandboxFilesystemPermissionError} write permission is denied.
6761
+ * @throws {SandboxFilesystemError} the command fails for any other reason.
6762
+ */
6763
+ writeBytes(data: Uint8Array | ArrayBuffer | Buffer, remotePath: string): Promise<void>;
6764
+ /**
6765
+ * Write UTF-8 text to a file in the Sandbox.
6766
+ *
6767
+ * `remotePath` must be an absolute path to a file in the Sandbox.
6768
+ * Parent directories are created if needed. The remote file is overwritten
6769
+ * if it already exists.
6770
+ *
6771
+ * @throws {TypeError} `data` is not a string.
6772
+ * @throws {SandboxFilesystemNotADirectoryError} a parent component of `remotePath` is not a directory.
6773
+ * @throws {SandboxFilesystemIsADirectoryError} `remotePath` points to a directory.
6774
+ * @throws {SandboxFilesystemPermissionError} write permission is denied.
6775
+ * @throws {SandboxFilesystemError} the command fails for any other reason.
6776
+ */
6777
+ writeText(data: string, remotePath: string): Promise<void>;
6778
+ }
6779
+
6522
6780
  /**
6523
6781
  * Wrapper around `ReadableStream` with convenience functions.
6524
6782
  *
@@ -6673,6 +6931,20 @@ declare class SandboxService {
6673
6931
  create(app: App, image: Image, params?: SandboxCreateParams): Promise<Sandbox>;
6674
6932
  /**
6675
6933
  * Create a new {@link Sandbox} using the experimental V2 backend.
6934
+ *
6935
+ * Supported features include exec, encrypted tunnels, wait/poll/terminate,
6936
+ * CPU and memory configuration, and region placement.
6937
+ *
6938
+ * Features like tags, filesystem snapshots, memory snapshots, volumes, cloud
6939
+ * bucket mounts, GPUs, custom domains, OIDC identity tokens, proxies, and
6940
+ * readiness probes are not supported.
6941
+ *
6942
+ * V2 sandboxes created with this method are not currently returned by
6943
+ * {@link SandboxService#list client.sandboxes.list()} and cannot be looked up
6944
+ * with {@link SandboxService#fromName client.sandboxes.fromName()}. Store
6945
+ * {@link Sandbox#sandboxId sandbox.sandboxId} if you need to retrieve the
6946
+ * sandbox later, and use {@link SandboxService#fromId client.sandboxes.fromId()}
6947
+ * to reattach.
6676
6948
  */
6677
6949
  experimentalCreate(app: App, image: Image, params?: SandboxCreateParams): Promise<Sandbox>;
6678
6950
  /** Returns a running {@link Sandbox} object from an ID.
@@ -6772,6 +7044,7 @@ declare class Sandbox {
6772
7044
  get stdin(): ModalWriteStream<string>;
6773
7045
  get stdout(): ModalReadStream<string>;
6774
7046
  get stderr(): ModalReadStream<string>;
7047
+ get filesystem(): SandboxFilesystem;
6775
7048
  /** Set tags (key-value pairs) on the Sandbox. Tags can be used to filter results in {@link SandboxService#list Sandbox.list}. */
6776
7049
  setTags(tags: Record<string, string>): Promise<void>;
6777
7050
  /** Get tags (key-value pairs) currently attached to this Sandbox from the server. */
@@ -6786,6 +7059,10 @@ declare class Sandbox {
6786
7059
  static fromName(appName: string, name: string, environment?: string): Promise<Sandbox>;
6787
7060
  /**
6788
7061
  * Open a file in the Sandbox filesystem.
7062
+ *
7063
+ * @deprecated Use {@link SandboxFilesystem} methods: `sandbox.filesystem.readBytes()`,
7064
+ * `writeBytes()`, or `copyToLocal()` instead for improved reliability.
7065
+ *
6789
7066
  * @param path - Path to the file to open
6790
7067
  * @param mode - File open mode (r, w, a, r+, w+, a+)
6791
7068
  * @returns Promise that resolves to a {@link SandboxFile}
@@ -6883,6 +7160,13 @@ declare class ContainerProcess<R extends string | Uint8Array = any> {
6883
7160
  stderr: ModalReadStream<R>;
6884
7161
  /** @ignore */
6885
7162
  constructor(taskId: string, execId: string, commandRouterClient: TaskCommandRouterClientImpl, params?: SandboxExecParams, deadline?: number | null);
7163
+ /**
7164
+ * @ignore
7165
+ * Send stdin EOF directly, bypassing the WritableStream state machine.
7166
+ *
7167
+ * Useful for when an stdin write has failed.
7168
+ */
7169
+ closeStdin(): Promise<void>;
6886
7170
  /** Wait for process completion and return the exit code. */
6887
7171
  wait(): Promise<number>;
6888
7172
  }
@@ -7093,6 +7377,38 @@ declare class QueueEmptyError extends Error {
7093
7377
  declare class QueueFullError extends Error {
7094
7378
  constructor(message: string);
7095
7379
  }
7380
+ /** Errors from invalid Sandbox FileSystem operations. */
7381
+ declare class SandboxFilesystemError extends Error {
7382
+ constructor(message: string);
7383
+ }
7384
+ /** A directory was expected to be empty but is not. */
7385
+ declare class SandboxFilesystemDirectoryNotEmptyError extends SandboxFilesystemError {
7386
+ constructor(message: string);
7387
+ }
7388
+ /** A file exceeds the maximum allowed size for a read operation. */
7389
+ declare class SandboxFilesystemFileTooLargeError extends SandboxFilesystemError {
7390
+ constructor(message: string);
7391
+ }
7392
+ /** A file operation was attempted on a path that resolves to a directory. */
7393
+ declare class SandboxFilesystemIsADirectoryError extends SandboxFilesystemError {
7394
+ constructor(message: string);
7395
+ }
7396
+ /** A directory operation encountered a path component that is not a directory. */
7397
+ declare class SandboxFilesystemNotADirectoryError extends SandboxFilesystemError {
7398
+ constructor(message: string);
7399
+ }
7400
+ /** A file or directory is not found. */
7401
+ declare class SandboxFilesystemNotFoundError extends SandboxFilesystemError {
7402
+ constructor(message: string);
7403
+ }
7404
+ /** A path already exists and the operation requires it to be absent. */
7405
+ declare class SandboxFilesystemPathAlreadyExistsError extends SandboxFilesystemError {
7406
+ constructor(message: string);
7407
+ }
7408
+ /** Permission is denied for a file operation. */
7409
+ declare class SandboxFilesystemPermissionError extends SandboxFilesystemError {
7410
+ constructor(message: string);
7411
+ }
7096
7412
  /** Sandbox operations that exceed the allowed time limit. */
7097
7413
  declare class SandboxTimeoutError extends Error {
7098
7414
  constructor(message?: string);
@@ -7104,4 +7420,4 @@ declare class ClientClosedError extends Error {
7104
7420
 
7105
7421
  declare function checkForRenamedParams(params: any, renames: Record<string, string>): void;
7106
7422
 
7107
- export { AlreadyExistsError, App, type AppFromNameParams, AppService, ClientClosedError, type ClientOptions, CloudBucketMount, CloudBucketMountService, Cls, type ClsFromNameParams, ClsInstance, ClsService, type ClsWithBatchingParams, type ClsWithConcurrencyParams, type ClsWithOptionsParams, ContainerProcess, type DeleteOptions, type EphemeralOptions, FunctionCall, type FunctionCallCancelParams, type FunctionCallGetParams, FunctionCallService, type FunctionFromNameParams, FunctionService, type FunctionStats, FunctionTimeoutError, type FunctionUpdateAutoscalerParams, Function_, Image, type ImageDeleteParams, type ImageDockerfileCommandsParams, ImageService, InternalFailure, InvalidError, type LogLevel, type Logger, type LookupOptions, ModalClient, type ModalClientParams, type ModalReadStream, type ModalWriteStream, NotFoundError, Probe, type ProbeParams, type Profile, Proxy, type ProxyFromNameParams, ProxyService, Queue, type QueueClearParams, type QueueDeleteParams, QueueEmptyError, type QueueEphemeralParams, type QueueFromNameParams, QueueFullError, type QueueGetParams, type QueueIterateParams, type QueueLenParams, type QueuePutParams, QueueService, RemoteError, Retries, Sandbox, type SandboxCreateConnectCredentials, type SandboxCreateConnectTokenParams, type SandboxCreateParams, type SandboxExecParams, SandboxFile, type SandboxFileMode, type SandboxFromNameParams, type SandboxListParams, SandboxService, type SandboxTerminateParams, SandboxTimeoutError, Secret, type SecretDeleteParams, type SecretFromNameParams, type SecretFromObjectParams, SecretService, type StdioBehavior, type StreamMode, TimeoutError, Tunnel, Volume, type VolumeDeleteParams, type VolumeEphemeralParams, type VolumeFromNameParams, VolumeService, checkForRenamedParams, close, initializeClient };
7423
+ export { AlreadyExistsError, App, type AppFromNameParams, AppService, ClientClosedError, type ClientOptions, CloudBucketMount, CloudBucketMountService, Cls, type ClsFromNameParams, ClsInstance, ClsService, type ClsWithBatchingParams, type ClsWithConcurrencyParams, type ClsWithOptionsParams, ContainerProcess, type DeleteOptions, type EphemeralOptions, type FileInfo, type FileType, FunctionCall, type FunctionCallCancelParams, type FunctionCallGetParams, FunctionCallService, type FunctionFromNameParams, FunctionService, type FunctionStats, FunctionTimeoutError, type FunctionUpdateAutoscalerParams, Function_, Image, type ImageDeleteParams, type ImageDockerfileCommandsParams, ImageService, InternalFailure, InvalidError, type LogLevel, type Logger, type LookupOptions, ModalClient, type ModalClientParams, type ModalReadStream, type ModalWriteStream, NotFoundError, Probe, type ProbeParams, type Profile, Proxy, type ProxyFromNameParams, ProxyService, Queue, type QueueClearParams, type QueueDeleteParams, QueueEmptyError, type QueueEphemeralParams, type QueueFromNameParams, QueueFullError, type QueueGetParams, type QueueIterateParams, type QueueLenParams, type QueuePutParams, QueueService, RemoteError, Retries, Sandbox, type SandboxCreateConnectCredentials, type SandboxCreateConnectTokenParams, type SandboxCreateParams, type SandboxExecParams, SandboxFile, type SandboxFileMode, SandboxFilesystem, SandboxFilesystemDirectoryNotEmptyError, SandboxFilesystemError, SandboxFilesystemFileTooLargeError, SandboxFilesystemIsADirectoryError, SandboxFilesystemNotADirectoryError, SandboxFilesystemNotFoundError, SandboxFilesystemPathAlreadyExistsError, SandboxFilesystemPermissionError, type SandboxFromNameParams, type SandboxListParams, SandboxService, type SandboxTerminateParams, SandboxTimeoutError, Secret, type SecretDeleteParams, type SecretFromNameParams, type SecretFromObjectParams, SecretService, type StdioBehavior, type StreamMode, TimeoutError, Tunnel, Volume, type VolumeDeleteParams, type VolumeEphemeralParams, type VolumeFromNameParams, type VolumeMountOptions, VolumeService, checkForRenamedParams, close, initializeClient };