/** * Type definitions for snapshot system. */ /** * Interface for objects that have child nodes. */ export interface WithChildren { childNodes: WithChildren[]; } /** * Serialized snapshot instance for communication between threads. */ export interface SerializedSnapshotInstance { id: number; type: string; values?: any[] | undefined; extraProps?: Record | undefined; children?: SerializedSnapshotInstance[] | undefined; }