/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import type { PlanRowDiagnostic } from "../model.js"; import { type PlanWords } from "../words.js"; type Styles = Record>; /** * The one-line reason a diagnostic row draws nothing. * * @param diagnostic - The row's diagnostic (`PlanDerived.diagnostics`) * @param w - The canvas's words (#820) * @returns The message */ export declare function diagnosticText(diagnostic: PlanRowDiagnostic, w: PlanWords): string; export interface RowDiagnosticProps { diagnostic: PlanRowDiagnostic; styles: Styles; /** R2 context strip — the hatch stays, the words do not fit. */ ctx?: boolean | undefined; } /** * Fill a row's plot with its diagnostic. * * @param props - The diagnostic, the recipe styles and the strip flag * @returns The plot content */ export declare function RowDiagnostic({ diagnostic, styles, ctx }: RowDiagnosticProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=RowDiagnostic.d.ts.map