import { CcApiSimpleCommand } from '../../lib/cc-api-command.js'; import type { IdResolve } from '../../types/resource-id-resolver.types.js'; import type { ListCellarObjectCommandInput, ListCellarObjectCommandOutput } from './list-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 */ export declare const LIST_CELLAR_OBJECT_ERROR_CODES: { readonly CELLAR_NOT_FOUND: 'clever.cellar.not-found'; readonly BUCKET_NOT_FOUND: 'clever.cellar.bucket-not-found'; }; export type ListCellarObjectErrorCode = (typeof LIST_CELLAR_OBJECT_ERROR_CODES)[keyof typeof LIST_CELLAR_OBJECT_ERROR_CODES]; /** * Lists one page of a bucket's contents, presented as objects and directories. * * Keys are split on slashes so the result reads like a file browser: a common prefix comes back as a * directory rather than as the objects under it. * * Common error codes: see {@link LIST_CELLAR_OBJECT_ERROR_CODES} * * @endpoint [GET] /v4/cellar/organisations/:XXX/cellar/:XXX/buckets/:XXX/objects * @group Cellar * @version 4 */ export declare class ListCellarObjectCommand extends CcApiSimpleCommand { toRequestParams(params: ListCellarObjectCommandInput): Partial; transformCommandOutput(response: unknown): ListCellarObjectCommandOutput; getIdsToResolve(): IdResolve; isIdempotent(): boolean; } //# sourceMappingURL=list-cellar-object-command.d.ts.map