/** What a reader opened in a transcript's rows, kept while the list lets go of * the rows far from the view, so a row drawn again shows what it showed. A * block is known by what it draws: the id of its part or message, or the part * itself, which keeps its identity until a delta changes it. */ export interface RowMemory { get(owner: object | string, slot: string): boolean | undefined; set(owner: object | string, slot: string, value: boolean): void; } export declare function createRowMemory(): RowMemory; export declare const RowMemoryContext: import("react").Context; export declare const ExpandAllContext: import("react").Context; /** Whether the transcripts under it have every block opened or closed. */ export declare function useExpandAll(): boolean | undefined; /** A block's open state, starting as the reader left it when its row was * drawn before. Outside a list that keeps rows' memory, plain state. */ export declare function useRemembered(owner: object | string | undefined, slot: string, initial: boolean): [boolean, (value: boolean) => void];