import type { StageSnapshot } from 'footprintjs/advanced';
import type { TraceCauseArtifacts } from './causeTypes.js';
import type { TraceToolpackArtifacts } from './types.js';
/** The same three questions can read a graph directly or project a native snapshot. */
export type CauseContext = {
    readonly kind: 'graph';
    readonly cause: TraceCauseArtifacts;
} | {
    readonly kind: 'snapshot';
    readonly artifacts: TraceToolpackArtifacts;
    readonly nodes: ReadonlyMap<string, StageSnapshot>;
};
/** A saved assessment belongs only to graph-only serving, never a mixed snapshot bag. */
export declare function causeContextAssessment(context: CauseContext): import("./storedCauseBinding.js").StoredCauseAssessment;
