export interface VisibleStateScopePrefixFilter {
    include?: string[];
    exclude?: string[];
}
export interface VisibleStateScope {
    nodeIdPrefixes?: VisibleStateScopePrefixFilter;
}
export interface VisibleStateTransferOperation {
    op: string;
    [key: string]: unknown;
}
export interface VisibleStateTransferOperationFact {
    op: string;
    [key: string]: unknown;
}
export interface CoordinateComparison {
    comparisonVersion: string;
    comparisonDigest?: string;
    scope?: VisibleStateScope | null;
    left: unknown;
    right: unknown;
    visiblePatchDivergence: unknown;
    visibleState: unknown;
}
export interface CoordinateComparisonFact {
    comparisonVersion: string;
    scope?: VisibleStateScope;
    left: unknown;
    right: unknown;
    visiblePatchDivergence: unknown;
    visibleState: unknown;
}
export interface CoordinateComparisonFactExport {
    exportVersion: string;
    factKind: 'coordinate-comparison';
    factDigest: string;
    canonicalFactJson: string;
    fact: CoordinateComparisonFact;
}
export interface CoordinateTransferPlan {
    transferVersion: string;
    transferDigest?: string;
    comparisonDigest: string;
    scope?: VisibleStateScope | null;
    changed: boolean;
    source: unknown;
    target: unknown;
    summary: unknown;
    ops: VisibleStateTransferOperation[];
}
export interface CoordinateTransferPlanFact {
    transferVersion: string;
    comparisonDigest: string;
    scope?: VisibleStateScope;
    changed: boolean;
    source: unknown;
    target: unknown;
    summary: unknown;
    ops: VisibleStateTransferOperationFact[];
}
export interface CoordinateTransferPlanFactExport {
    exportVersion: string;
    factKind: 'coordinate-transfer-plan';
    factDigest: string;
    canonicalFactJson: string;
    fact: CoordinateTransferPlanFact;
}
/**
 * Builds the exact substrate fact payload hashed by `comparisonDigest`.
 */
export declare function buildCoordinateComparisonFact(comparison: Pick<CoordinateComparison, 'comparisonVersion' | 'left' | 'right' | 'visiblePatchDivergence' | 'visibleState'> & {
    scope?: VisibleStateScope | null;
}): CoordinateComparisonFact;
/**
 * Builds the exact JSON-safe substrate fact payload hashed by `transferDigest`.
 */
export declare function buildCoordinateTransferPlanFact(transferPlan: Pick<CoordinateTransferPlan, 'transferVersion' | 'comparisonDigest' | 'changed' | 'source' | 'target' | 'summary' | 'ops'> & {
    scope?: VisibleStateScope | null;
}): CoordinateTransferPlanFact;
/**
 * Exports a coordinate comparison as a deterministic substrate fact envelope
 * suitable for higher-layer storage or attestation context.
 */
export declare function exportCoordinateComparisonFact(comparison: CoordinateComparison): CoordinateComparisonFactExport;
/**
 * Exports a coordinate transfer plan as a deterministic substrate fact
 * envelope without embedding raw attachment bytes.
 */
export declare function exportCoordinateTransferPlanFact(transferPlan: CoordinateTransferPlan): CoordinateTransferPlanFactExport;
