export declare class UserError extends Error { constructor(message: string, options?: ErrorOptions); } /** * Detects user errors by name as well as identity, so an instance created in * another bundle (for example `@poe-code/user-error`, thrown by packages that do * not depend on toolcraft) is still rendered as guidance where `instanceof` * would fail - while a genuine `UserError` stays one even if its name was * overwritten. */ export declare function isUserError(error: unknown): error is Error; export declare class ToolcraftBugError extends Error { constructor(message: string); }