import type { Readable } from 'node:stream'; import { RestResource } from './rest-resource.js'; declare class ChecklyStorage extends RestResource { upload(stream: Readable): Promise>; /** * @param sha256 Lowercase hex SHA-256 of the archive. Stored as object * metadata, so an uploaded bundle can be matched to the hash the deploy * payload reports for it. */ uploadCodeBundle(stream: Readable, size: number, sha256?: string): Promise>; download(key: string): Promise>; } export default ChecklyStorage;