import { CcApiSimpleCommand } from '../../lib/cc-api-command.js'; import type { IdResolve } from '../../types/resource-id-resolver.types.js'; import type { GetCellarBucketCommandInput, GetCellarBucketCommandOutput } from './get-cellar-bucket-command.types.js'; /** * The error codes this command can produce, to compare against `error.code`. * * - `CELLAR_NOT_FOUND`: the add-on does not exist, or does not belong to the given owner * - `BUCKET_NOT_FOUND`: the bucket does not exist in the add-on */ export declare const GET_CELLAR_BUCKET_ERROR_CODES: { readonly CELLAR_NOT_FOUND: 'clever.cellar.not-found'; readonly BUCKET_NOT_FOUND: 'clever.cellar.bucket-not-found'; }; export type GetCellarBucketErrorCode = (typeof GET_CELLAR_BUCKET_ERROR_CODES)[keyof typeof GET_CELLAR_BUCKET_ERROR_CODES]; /** * Retrieves one bucket, with its versioning status. * * Common error codes: see {@link GET_CELLAR_BUCKET_ERROR_CODES} * * @endpoint [GET] /v4/cellar/organisations/:XXX/cellar/:XXX/buckets/:XXX * @group Cellar * @version 4 */ export declare class GetCellarBucketCommand extends CcApiSimpleCommand { toRequestParams(params: GetCellarBucketCommandInput): Partial; getIdsToResolve(): IdResolve; isIdempotent(): boolean; } //# sourceMappingURL=get-cellar-bucket-command.d.ts.map