/**
 * Debug bundle reader.
 *
 * Parses a diagnostic ZIP bundle and returns a structured summary
 * for the inspect-bundle CLI command. Works offline -- no network
 * access or running orchestrator needed.
 */
export interface BundleManifest {
    version: string;
    generated_at: string;
    orchestrator_id?: string;
    source?: string;
    node_version: string;
    platform: string;
}
export interface BundleSummary {
    /** Bundle metadata. */
    manifest: BundleManifest;
    /** Diagnostic check results from the bundle. */
    checkResults: Array<{
        name: string;
        status: 'pass' | 'warn' | 'fail';
        message: string;
        durationMs: number;
    }>;
    /** Number of checks that failed. */
    errorCount: number;
    /** Number of checks that warned. */
    warningCount: number;
    /** System information from the bundle. */
    systemInfo: Record<string, unknown>;
    /** Detected config issues (missing required fields, etc.). */
    configIssues: string[];
    /** Log file statistics (if logs were included). */
    logSummary?: {
        totalLines: number;
        errors: number;
        warnings: number;
    };
}
/**
 * Read and parse a debug bundle ZIP file.
 *
 * @param zipPath - Path to the ZIP file to parse
 * @returns Structured summary of the bundle contents
 */
export declare function readDebugBundle(zipPath: string): Promise<BundleSummary>;
//# sourceMappingURL=bundle-reader.d.ts.map