import type { SignedOp, Thread } from "./types"; /** At most this many different emoji on one comment, so a comment can't be flooded; later ones are ignored. */ export declare const MAX_REACTIONS = 12; /** * Turns ops into threads. Deterministic: peers holding the same ops see the same threads, * whatever order the ops arrived in. Assumes ops are already well formed and authentic. */ export declare function foldThreads(ops: Iterable): Thread[];