/**
 * ConflictWinner — runtime-backed winner of a conflict trace.
 *
 * @module domain/types/conflict/ConflictWinner
 */
import ConflictAnchor from './ConflictAnchor.ts';
/**
 * A runtime-backed winner record within a conflict trace.
 *
 * Instances are frozen on construction.
 */
export default class ConflictWinner {
    readonly anchor: ConflictAnchor;
    readonly effectDigest: string;
    /**
     * Creates a frozen ConflictWinner.
     */
    constructor({ anchor, effectDigest }: {
        anchor: ConflictAnchor;
        effectDigest: string;
    });
    /**
     * Creates a ConflictWinner from an OpRecord.
     */
    static fromRecord(record: {
        patchSha: string;
        writerId: string;
        lamport: number;
        opIndex: number;
        receiptOpIndex: number;
        effectDigest: string;
    }): ConflictWinner;
}
