/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ type Styles = Record>; /** What the diagnostics chips report. */ export interface PlanDiagnostics { /** Rows that render as diagnostic rows (their instants ride another arm). */ skipped: number; /** Seek to the first of them — `undefined` when none is reachable. */ onSeekSkipped?: (() => void) | undefined; /** Why the source could not report its size, when its `total()` threw. */ sourceError?: string | undefined; /** Why the last key search failed, when it did. */ searchError?: string | undefined; /** How many buckets the grid shows, when the axis had to truncate. */ truncatedAt?: number | undefined; } /** * Whether there is anything to report. * * @param d - The diagnostics, when the canvas has computed them * @returns `true` when at least one chip would mount */ export declare function hasDiagnostics(d: PlanDiagnostics | undefined): d is PlanDiagnostics; /** * The diagnostics chips — the shared `chip` recipe, status on the glyph. * * @param props - The diagnostics and the resolved `plan` recipe styles * @returns The chip cluster */ export declare function PlanDiagnosticChips({ diagnostics, styles }: { diagnostics: PlanDiagnostics; styles: Styles; }): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=Diagnostics.d.ts.map