import { ListChildren } from "../children"; import { Attribute } from "../kinds/attributes"; import { SyntheticAttributeDefinition } from "../kinds/definitions"; import { SyntheticAttributeEvaluator } from "../kinds/synthetic"; import { ArborEmitter, MutationMonitor } from "../events"; import { ReificationOptions } from "../kinds/options"; /** * This is the function that takes a description of a synthetic * attribute and returns an actual implementation capable of computing * the synthetic attribute for any node in the tree. * * Note that the definition's return type (DR) may not necessarily match * the attribute return type (R). This allows the reifier to perform * some transformations of the resulting attribute (which is useful, for * example, when dealing with observables). * * @param tree Tree we are associating this synthetic attribute with * @param evaluator The function that evaluates the synthetic attribute * @param opts Various options we have when reifying * @returns */ export declare function reifySyntheticAttribute(root: T, list: ListChildren, def: SyntheticAttributeDefinition, df: SyntheticAttributeEvaluator, emitter: ArborEmitter, monitor: MutationMonitor, opts: ReificationOptions): Attribute;