import type { AddOn } from '@heroku/types/3.sdk'; export declare class AddonNotFoundError extends Error { readonly resource: string; readonly id = "not_found"; readonly statusCode = 404; constructor(resource?: string); get body(): { id: string; message: string; resource: string; }; } export declare class AddonAmbiguousError extends Error { readonly matches: AddOn[]; readonly id = "multiple_matches"; readonly statusCode = 422; constructor(matches: AddOn[]); get body(): { id: string; message: string; }; } /** * Thrown by `createAndWait` when the Platform returns 423 * `confirmation_required`. Callers that want to prompt the user should * catch this, gather a confirmation value, and retry the call with * `body.confirm` set. */ export declare class AddonConfirmationRequiredError extends Error { readonly platformMessage: string; readonly id = "confirmation_required"; readonly statusCode = 423; constructor(platformMessage: string); get body(): { id: string; message: string; }; } /** * Thrown by `createAndWait` when the Platform reports the add-on * settled into a non-provisioned terminal state (e.g. `deprovisioned`). */ export declare class AddonProvisioningFailedError extends Error { readonly addon: AddOn; readonly id = "provisioning_failed"; constructor(addon: AddOn); get body(): { id: string; message: string; }; }