export type FoldRestingState = "open" | "closed"; /** Provide a per-timeline resting-state map (MessageTimeline owns one). */ export declare const FoldMemoryProvider: import("react").Provider | null>; /** The ancestor fold-memory map, or null when none is mounted (inert). */ export declare function useFoldMemory(): Map | null; /** * Single-cluster activity→turn wrap: copy the activity resting state onto the * new turn-* key. Those ids differ across the wrap; without this the turn * remounts settleFold and re-opens a chip the reader already watched collapse. * * Multi-cluster wraps deliberately do NOT inherit — the outer turn chip is new * and still takes one settle beat; nested clusters keep their own activity-* * memory so they stay closed under that beat. */ export declare function inheritFoldRestingState(memory: Map, targetKey: string, sourceKeys: readonly string[]): void;