export interface ChildInformation { node: T; attr: R; } /** * Arguments available when computing a synthetic attribute. * * Sometimes we will want to request the attribute value for a specific * child. In that case, we can use `attr`. In other cases, we might wish * to iterate over the children. In that case, we use `children`. */ export interface SyntheticArg { node: T; attr: (child: T) => R; children: Array>; createMap: () => Map; } export declare type SyntheticAttributeEvaluator = (x: SyntheticArg) => R;