import type { ErrorItem } from "./app-items.js";
/**
 * Build an ErrorItem from any thrown value. Centralises headline / message /
 * guidance extraction so every error answers the same question for the user:
 * "Should I retry, or is this a ggcoder bug to report?"
 */
export declare function toErrorItem(err: unknown, id: string, contextPrefix?: string): ErrorItem;
//# sourceMappingURL=error-item.d.ts.map