import type { Space } from '@heroku/types/3.sdk'; /** * Thrown by `waitForAllocated` when the space settles into a terminal * state other than `allocated` (e.g. `deleting`). */ export declare class SpaceNotAllocatedError extends Error { readonly space: Space; readonly id = "space_not_allocated"; constructor(space: Space); get body(): { id: string; message: string; }; } /** * Thrown by `waitForAllocated` when `timeoutMs` elapses while the space * is still `allocating`. */ export declare class SpaceNotReadyError extends Error { readonly space: Space; readonly timeoutMs: number; readonly id = "space_not_ready"; constructor(space: Space, timeoutMs: number); get body(): { id: string; message: string; }; }