import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class Bundle extends APIResource { /** * Accepts a JSON array of {path, content}, packs into a tar.zst, and forwards to * the Sandbox Manager /sandbox/bundle endpoint. * * @example * ```ts * const response = await client.stacks.bundle.createFiles({ * entrypoint: 'x', * files: [ * { content: '...', path: 'index.html' }, * ], * }); * ``` */ createFiles(body: BundleCreateFilesParams, options?: RequestOptions): APIPromise; } export interface BundleCreateFilesResponse { content: string; path: string; } export interface BundleCreateFilesParams { entrypoint: string; /** * Files to bundle */ files: Array; tarball_filename?: string; } export declare namespace BundleCreateFilesParams { interface File { content: string; path: string; } } export declare namespace Bundle { export { type BundleCreateFilesResponse as BundleCreateFilesResponse, type BundleCreateFilesParams as BundleCreateFilesParams, }; } //# sourceMappingURL=bundle.d.ts.map