import type { NotebookControlResult } from "../code-mode/types.ts"; import type { NotebookRuntimeHealthState } from "./runtime-health.ts"; export interface NotebookDiagnostic { cellId: string; cellIndex: number; line: number; column: number; endLine: number; endColumn: number; severity: "error" | "warning" | "information" | "hint" | "unknown"; code?: string | number | undefined; source?: string | undefined; name?: string | undefined; message: string; } export declare function formatNotebookDiagnostics(path: string, cells: number, diagnostics: NotebookDiagnostic[], runtimeHealth?: NotebookRuntimeHealthState): NotebookControlResult; export declare function formatRuntimeHealth(state: NotebookRuntimeHealthState): string; export declare function boundText(value: string): string; export declare function boundedDiagnosticResult(message: string, details: Record): NotebookControlResult;