import { GraphxrEvent } from "./on"; export type ObserveCallback = () => void; /** * Convert an async API event, like 'change', into an Iterator. * Useful in Grove to define variables which react to data changes * @category Events * @since 0.0.53 * @example * ```js * personaNodes = observe( * 'change', * () => api.getLayoutGraph().getNodes().filter(api.nodesByCategory('Persona')) * ) * ``` */ export declare function observe(event: GraphxrEvent, compute: ObserveCallback): Iterator;