import { CcApiSimpleCommand } from '../../lib/cc-api-command.js'; import type { IdResolve } from '../../types/resource-id-resolver.types.js'; import type { DeleteCellarObjectCommandInput } from './delete-cellar-object-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 * - `OBJECT_NOT_FOUND`: the object does not exist in the bucket */ export declare const DELETE_CELLAR_OBJECT_ERROR_CODES: { readonly CELLAR_NOT_FOUND: 'clever.cellar.not-found'; readonly BUCKET_NOT_FOUND: 'clever.cellar.bucket-not-found'; readonly OBJECT_NOT_FOUND: 'clever.cellar.object-not-found'; }; export type DeleteCellarObjectErrorCode = (typeof DELETE_CELLAR_OBJECT_ERROR_CODES)[keyof typeof DELETE_CELLAR_OBJECT_ERROR_CODES]; /** * Removes one object from a bucket. * * Common error codes: see {@link DELETE_CELLAR_OBJECT_ERROR_CODES} * * @endpoint [DELETE] /v4/cellar/organisations/:XXX/cellar/:XXX/buckets/:XXX/objects/:XXX * @group Cellar * @version 4 */ export declare class DeleteCellarObjectCommand extends CcApiSimpleCommand { toRequestParams(params: DeleteCellarObjectCommandInput): Partial; transformCommandOutput(): undefined; getIdsToResolve(): IdResolve; isIdempotent(): boolean; } //# sourceMappingURL=delete-cellar-object-command.d.ts.map