import { CcApiSimpleCommand } from '../../lib/cc-api-command.js'; import type { IdResolve } from '../../types/resource-id-resolver.types.js'; import type { DeleteCellarBucketCommandInput } from './delete-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 * - `BUCKET_NOT_EMPTY`: the bucket still holds objects and the purge was not asked for */ export declare const DELETE_CELLAR_BUCKET_ERROR_CODES: { readonly CELLAR_NOT_FOUND: 'clever.cellar.not-found'; readonly BUCKET_NOT_FOUND: 'clever.cellar.bucket-not-found'; readonly BUCKET_NOT_EMPTY: 'clever.cellar.bucket-not-empty'; }; export type DeleteCellarBucketErrorCode = (typeof DELETE_CELLAR_BUCKET_ERROR_CODES)[keyof typeof DELETE_CELLAR_BUCKET_ERROR_CODES]; /** * Removes a bucket from a Cellar add-on. * * A bucket that still holds objects is only removed when the purge is asked for. * * Common error codes: see {@link DELETE_CELLAR_BUCKET_ERROR_CODES} * * @endpoint [DELETE] /v4/cellar/organisations/:XXX/cellar/:XXX/buckets/:XXX * @group Cellar * @version 4 */ export declare class DeleteCellarBucketCommand extends CcApiSimpleCommand { toRequestParams(params: DeleteCellarBucketCommandInput): Partial; transformCommandOutput(): undefined; getIdsToResolve(): IdResolve; isIdempotent(): boolean; } //# sourceMappingURL=delete-cellar-bucket-command.d.ts.map