import type { CSSWritableProperty } from "../types/style";
import type { Sink } from "../types/sink";
export declare const STYLE_OBJECT_SINK_TAG = "StyleObject";
/**
 * Applies a given CSS value to a specified CSS property of an Element.
 *
 * @param Element node - The HTML element to which the CSS property will be applied.
 * @param CSSProperty key - The CSS property that will be set on the element.
 * @returns Function A function that takes a CSS value (specific to the CSS property)
 *                     and applies it to the element's style.
 * @example // Applies a background color to a div element
 * const divElement = document.getElementById('myDiv');
 * const setBackgroundColor = styleSink(divElement, 'backgroundColor');
 * setBackgroundColor('red'); // Sets the div's background color to red
**/
export declare const StyleSink: Sink<HTMLElement | SVGElement>;
export declare const StylePreSink: (key: CSSWritableProperty) => (node: HTMLElement | SVGElement) => import("../types/sink").SinkFunction;
export declare const StyleObjectSink: Sink<HTMLElement | SVGElement>;
//# sourceMappingURL=style-sink.d.ts.map