/** Read-only profile and rankings diagnostics for the Settings page. */ import type { PluginHost } from "./contracts.js"; import { type DiagnosticReport, type RankingsDocument } from "../shared/types.js"; export interface DiagnoseOptions { readRuntime?: PluginHost["readRuntime"]; profileDir?: string; installAnchor?: string; dataUrl?: string; document?: RankingsDocument | null; fetchCatalog?: boolean; now?: number; } export declare function buildDiagnosticReport(profile: string, options?: DiagnoseOptions): Promise;