import { ElementRef, Signal, WritableSignal } from '@angular/core'; import { Element } from '../../angular-terminal/dom-terminal'; import { StyleValue } from '../../angular-terminal/dom-terminal/sources/core/dom/StyleHandler'; import * as i0 from "@angular/core"; type StyleValueOrSignal = StyleValue | Signal; /** * Applies a style to the element. * @example * Some red text */ export declare class Style { element: ElementRef; /** * Styles, one or multiple, to be applied in order. * s = style * @example * Value: {color: 'red'} * Signal: computed(() => ({color: darkOrLight()})) */ readonly s: import("@angular/core").InputSignal; /** * Styles the children of this element. * sc = style children */ readonly sc: import("@angular/core").InputSignal; /** * Template styles. * Used for now to have styles than can react to $index in a @for (template variables). * Angular doesnt expose the index as a signal for now. * st = style template */ readonly st: import("@angular/core").InputSignal; /** * Template style variables : {key: value} * Example: {index: 3} * Passes them to their corresponding signal via key. * stv = style template variables * Example: signals[index].set(3) */ stv: { [key: string]: any; }; signals: { [key: string]: WritableSignal; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export type TemplateStyle = (templateVars: { [key: string]: WritableSignal; }) => Signal; export {};