import { type ConfigPaths } from "./config-paths";
export interface DiagnosticReport {
    timestamp: string;
    platform: string;
    arch: string;
    nodeVersion: string;
    pluginVersion: string;
    opencodeInstalled: boolean;
    opencodeVersion: string | null;
    configPaths: ConfigPaths;
    opencodeConfigHasPlugin: boolean;
    tuiConfigHasPlugin: boolean;
    magicContextConfig: {
        exists: boolean;
        parseError?: string;
        flags: Record<string, unknown>;
    };
    pluginCache: {
        path: string;
        cached?: string;
        latest?: string;
    };
    storageDir: {
        path: string;
        exists: boolean;
        contextDbSizeBytes: number;
    };
    conflicts: {
        hasConflict: boolean;
        reasons: string[];
    };
    logFile: {
        path: string;
        exists: boolean;
        sizeKb: number;
    };
    historianDumps: {
        dir: string;
        count: number;
        recent: {
            name: string;
            ageMinutes: number;
            sizeKb: number;
        }[];
    };
}
export declare function collectDiagnostics(): Promise<DiagnosticReport>;
export declare function renderDiagnosticsMarkdown(report: DiagnosticReport): string;
//# sourceMappingURL=diagnostics.d.ts.map