import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; export declare class Containers extends ClientSDK { /** * List container files * * @remarks * Lists the files in a container, in lexicographic path order. The container id is the canonical id returned in bash/shell tool results; a restarted session is a separate container with its own id. Paginate with `limit` and `after` (pass the previous page’s `last_id`); `has_more: true` always means the next page is fetchable that way. `last_id` is the resume cursor: it is the last listed file’s id, except when a page ends at the per-request scan bound on hidden bookkeeping objects, where it names the scan position instead and may not appear in `data` (which can then be empty). */ listContainerFiles(request: operations.ListContainerFilesRequest, options?: RequestOptions): Promise; /** * Retrieve a container file * * @remarks * Returns the metadata of a single file in a container. */ getContainerFile(request: operations.GetContainerFileRequest, options?: RequestOptions): Promise; /** * Download container file content * * @remarks * Streams the raw bytes of a file in a container. */ downloadContainerFileContent(request: operations.DownloadContainerFileContentRequest, options?: RequestOptions): Promise>; /** * Promote a container file into workspace documents * * @remarks * Copies a file from the container's sandbox prefix into the workspace's durable document storage, so it outlives the container. Returns the new document in the Files API shape, with a durable file id in the documents namespace. The copy counts against the workspace's storage quota. Unlike a direct upload, promoted files are downloadable. */ promoteContainerFile(request: operations.PromoteContainerFileRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=containers.d.ts.map