import type { Bucket, BucketAccessLevel, BucketCreateRequest } from "../../client/types.gen.js"; import type { CallOptions, RequestContext } from "../context.js"; import type { Outcome } from "../result.js"; type CreateInput = BucketCreateRequest; export type BucketsListParams = { projectId: string; branchId: string; }; export type BucketsCreateParams = { projectId: string; branchId: string; } & CreateInput; export type BucketsDeleteParams = { projectId: string; branchId: string; bucketName: string; }; /** Branch-scoped object-storage buckets. */ export declare class Buckets { #private; constructor(ctx: RequestContext); /** @apiCall GET /projects/{project_id}/branches/{branch_id}/buckets */ list(params: BucketsListParams): Promise>; list(params: BucketsListParams, opts: CallOptions): Promise>; /** @apiCall POST /projects/{project_id}/branches/{branch_id}/buckets */ create(params: BucketsCreateParams): Promise>; create(params: BucketsCreateParams, opts: CallOptions): Promise>; /** @apiCall DELETE /projects/{project_id}/branches/{branch_id}/buckets/{bucket_name} */ delete(params: BucketsDeleteParams): Promise>; delete(params: BucketsDeleteParams, opts: CallOptions): Promise>; } export type { BucketAccessLevel }; //# sourceMappingURL=buckets.d.ts.map