import type * as runtime from "@cloudflare/workers-types"; import * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { RuntimeContext } from "../../RuntimeContext.ts"; import type { Bucket } from "./Bucket.ts"; import type { R2Error, GetOptions, ListOptions, R2Object, ObjectBody, Objects } from "./BucketTypes.ts"; /** * @binding * @product R2 * @category Storage & Databases */ export interface ReadBucket extends Binding.Service Effect.Effect> { } export declare const ReadBucket: ReadBucket; export interface ReadBucketClient { raw: Effect.Effect; head(key: string): Effect.Effect; get(key: string, options: GetOptions & { onlyIf: runtime.R2Conditional | Headers; }): Effect.Effect; get(key: string, options?: GetOptions): Effect.Effect; list(options?: ListOptions): Effect.Effect; } //# sourceMappingURL=ReadBucket.d.ts.map