import { RMLTemplateExpressions, SinkBindingConfiguration } from "../types/internal";
import { ExplicitSink } from "../types/sink";
import { AttributeObjectSink } from "./attribute-sink";
import { SINK_TAG } from "../constants";
export const MIXIN_SINK_TAG = 'mixin';
/**
* A specialised sink to merge all properties of an object into a target element.
* If you pass a plain object it will be merged immediately. You can also merge event listeners on mount.
* If you pass a future, it will be merged whenever it emits any data.
* @param source A present or future Attribuend Object (a plain object of key-values to merge) that will be merged into the target element
* @returns SinkBindingConfiguration an object that tells Rimmel what to mount where and how
* You can specify this sink in the following ways:
* - implicitly, by passing it into a tag: `