/**
 * Memory / LMK / DMABUF Root-Cause Graph builder (Spark Plan 14)
 *
 * Combines five orthogonal memory facets (process snapshots, LMK kills,
 * DMA/DMABUF allocations, external artifacts, baseline diff) into one
 * `MemoryRootCauseContract`.
 */
import { type DmaBufAllocation, type LmkKillEvent, type MemoryExternalArtifact, type MemoryRootCauseContract, type NsTimeRange, type ProcessMemorySnapshot } from '../types/sparkContracts';
export interface MemoryRootCauseInput {
    range: NsTimeRange;
    processSnapshots?: ProcessMemorySnapshot[];
    lmkEvents?: LmkKillEvent[];
    dmaAllocations?: DmaBufAllocation[];
    externalArtifacts?: MemoryExternalArtifact[];
    baseline?: {
        baselineId: string;
        /** Map of `topContributors` keyed by category (graphics_buffer, java_heap, …). */
        perCategoryBytes?: Record<string, number>;
        /** Total delta against the baseline in bytes. */
        deltaBytes: number;
    };
}
export declare function buildMemoryRootCause(input: MemoryRootCauseInput): MemoryRootCauseContract;
//# sourceMappingURL=memoryRootCause.d.ts.map