import type { FilesystemMountConfig } from '@mastra/core/workspace'; import type { MountContext } from './types.js'; /** * GCS mount config for E2B (mounted via gcsfuse). * * If credentials are not provided, the bucket will be mounted as read-only * using anonymous access (for public buckets only). */ export interface E2BGCSMountConfig extends FilesystemMountConfig { type: 'gcs'; /** GCS bucket name */ bucket: string; /** Service account key JSON (optional - omit for public buckets) */ serviceAccountKey?: string; /** * GCS key prefix to scope the mount (without trailing slash). * When set, gcsfuse uses --only-dir to mount only this subdirectory, so * sandbox paths map directly to prefixed GCS keys. */ prefix?: string; } /** * Mount a GCS bucket using gcsfuse. * * When `config.prefix` is set, gcsfuse uses `--only-dir` to mount only that * subdirectory, aligning sandbox paths with the prefixed GCS keys (mirrors the * S3 `bucket:/prefix` and Azure `--subdirectory` mounts). */ export declare function mountGCS(mountPath: string, config: E2BGCSMountConfig, ctx: MountContext): Promise; //# sourceMappingURL=gcs.d.ts.map