import type { MessageItem } from "@droppii-org/wasm-client-sdk"; export declare const MEMBER_EVENT_COLLAPSE_MIN = 3; export declare const isMemberEventMessage: (message?: Partial) => boolean; export interface MemberEventRun { /** Messages of the run, oldest first. */ messages: MessageItem[]; /** The oldest message renders the summary; the others render nothing. */ isHead: boolean; } /** * Finds the run of consecutive member events around `message` in a * newest-first list. Returns null when the message is not part of a run long * enough to collapse. */ export declare const getMemberEventRun: (allMessages: MessageItem[], message: MessageItem) => MemberEventRun | null; //# sourceMappingURL=memberEventRun.d.ts.map