import type { BehaviorEventEmitter } from "../behavior/behavior-event-emitter.js"; export interface InsightPattern { readonly id: string; readonly type: string; readonly confidence: number; readonly sampleSize: number; readonly discoveredAt: string; readonly lastValidated: string; readonly finding: string; readonly evidence: Record; readonly recommendation?: { readonly action: string; readonly params: Record; readonly impact: string; }; } export interface BundleData { readonly manifest: { readonly bundleId: string; readonly formatVersion: string; readonly createdAt: string; readonly exportProfile: string; }; readonly insights: { readonly patterns: readonly InsightPattern[]; readonly scores: readonly unknown[]; }; readonly policies: Record; } export interface MergeConflict { readonly patternId: string; readonly localConfidence: number; readonly importedConfidence: number; readonly resolution: "kept_local" | "used_imported" | "added_new"; } export interface MergeResult { readonly merged: readonly InsightPattern[]; readonly added: number; readonly updated: number; readonly conflicts: readonly MergeConflict[]; } export declare function mergeInsights(local: readonly InsightPattern[], imported: readonly InsightPattern[]): MergeResult; export interface ImportBundleOptions { readonly insightsOnly?: boolean; readonly dryRun?: boolean; readonly emitter?: BehaviorEventEmitter; } export declare function importBundle(workspaceRoot: string, bundlePath: string, options?: ImportBundleOptions): Promise; export declare function previewImport(workspaceRoot: string, bundlePath: string): Promise; //# sourceMappingURL=bundle-importer.d.ts.map