/** Human rendering of a diff plan, and translation of server errors. */
import type { LayoutApiError } from './errors';
import type { PlannedOp } from './types';
/** Render the plan grouped by domain, with warnings and a final count. */
export declare function formatPlan(ops: PlannedOp[], warnings: string[]): string;
/** Map a Forest API error to an actionable message (422 path → JSON key, 403 premium…). */
export declare function explainApiError(error: LayoutApiError, sentOps: PlannedOp[]): string;
//# sourceMappingURL=plan-format.d.ts.map