import { LayoutGraph } from "./layoutGraph"; export type ObservableLayoutGraph = Iterator & LayoutGraph; export interface ObservableLayoutGraphOptions { debounceTime?: number; } /** * Returns a Generator which resolves to the LegacyLayoutGraph. The Generator emits whenever the window global GraphXR owned GraphObservable object emits. * It's useful in Grove to create cells which react to graph data changes. * @category Grove * @since 0.0.231 * @example * ```js * // This is a Grove cell * selectedNodes = api.getObservableLayoutGraph().getVisibleNodes().filter(node => node.getStyle("selected")); * ``` */ export declare function getObservableLayoutGraph(options?: ObservableLayoutGraphOptions): ObservableLayoutGraph;