/** * Artifact operations for the Cloud Build plugin. * * Handles: * - Listing build artifacts * - Downloading artifacts (Buffer mode for ≤100MB) * - Streaming artifacts (ReadableStream for large files) */ import type { CloudBuildClient } from '@google-cloud/cloudbuild'; import type { Storage } from '@google-cloud/storage'; import type { Logger } from 'pino'; import type { CloudBuildConfig } from '../config/types.js'; import type { Artifact } from '../types/artifacts.js'; export declare class ArtifactOperations { private readonly cloudBuildClient; private readonly storage; private readonly config; private readonly logger; constructor(cloudBuildClient: CloudBuildClient, storage: Storage, config: CloudBuildConfig, logger: Logger); /** * List artifacts for a build. */ listArtifacts(buildId: string): Promise; /** * Download an artifact as a Buffer. * Throws if artifact exceeds 100MB. */ getArtifact(buildId: string, path: string): Promise; /** * Download an artifact as a ReadableStream. * Use for large files that exceed the 100MB Buffer limit. */ getArtifactStream(buildId: string, path: string): Promise; } //# sourceMappingURL=artifacts.d.ts.map