import type { UI, StateLike } from '../ui-element'; /** * Set text content of an element * * @since 0.8.0 * @param {StateLike} state - state bounded to the text content */ declare const setText: (state: StateLike) => (ui: UI) => UI; /** * Set property of an element * * @since 0.8.0 * @param {PropertyKey} key - name of property to be set * @param {StateLike} state - state bounded to the property value */ declare const setProperty: (key: PropertyKey, state?: StateLike) => (ui: UI) => UI; /** * Set attribute of an element * * @since 0.8.0 * @param {string} name - name of attribute to be set * @param {StateLike} state - state bounded to the attribute value */ declare const setAttribute: (name: string, state?: StateLike) => (ui: UI) => UI; /** * Toggle a boolan attribute of an element * * @since 0.8.0 * @param {string} name - name of attribute to be toggled * @param {StateLike} state - state bounded to the attribute existence */ declare const toggleAttribute: (name: string, state?: StateLike) => (ui: UI) => UI; /** * Toggle a classList token of an element * * @since 0.8.0 * @param {string} token - class token to be toggled * @param {StateLike} state - state bounded to the class existence */ declare const toggleClass: (token: string, state?: StateLike) => (ui: UI) => UI; /** * Set a style property of an element * * @since 0.8.0 * @param {string} prop - name of style property to be set * @param {StateLike} state - state bounded to the style property value */ declare const setStyle: (prop: string, state?: StateLike) => (ui: UI) => UI; export { setText, setProperty, setAttribute, toggleAttribute, toggleClass, setStyle };