import * as i0 from "@angular/core"; /** Numbered text preset (1 = largest, 10 = smallest) */ export type TextPreset = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | null | undefined; /** Font weight options for text */ export type TextWeight = 'bold' | 'semibold' | 'medium' | 'normal' | 'light' | 'inherit' | null | undefined; /** Text color variants */ export type TextColor = 'base' | 'base-placeholder' | 'primary' | 'secondary' | 'accent' | 'inherit' | null | undefined; /** Text overflow handling methods */ export type TextOverflow = 'clip' | 'ellipsis' | 'truncate' | null | undefined; /** Line clamp options (number of visible lines) */ export type TextLineClamp = '1' | '2' | '3' | '4' | '5' | '6' | 'none' | null | undefined; /** Configuration object for text styles */ export type TextProps = { preset?: TextPreset; weight?: TextWeight; color?: TextColor; overflow?: TextOverflow; lineClamp?: TextLineClamp; }; /** * A directive for applying consistent, preset-based typography styles using Tailwind CSS. * * Uses a numbered preset system (1-10) based on a Major Second scale (1.125 ratio, 14px base). * Each preset bundles sensible defaults for font-size, line-height, letter-spacing, and font-weight. * Weight, color, and overflow can be overridden independently. * * External Tailwind classes on the host element are automatically merged via `tailwind-merge`, * so they override conflicting directive defaults (e.g., `class="text-error"` overrides the * default `text-base-content` color). * * @example * ```html * *

Section Title

* * *

Hero Title

* * *

Body text

* * * Label * ``` * * @publicApi */ export declare class TextDirective { /** * Text preset (1 = largest, 10 = smallest). * Each preset bundles defaults for font-size, line-height, letter-spacing, and font-weight. * @defaultValue '7' (14px body text) */ stText: import("@angular/core").InputSignal; /** * Override the preset default font weight. * @defaultValue 'normal' (preset default weight) */ stTextWeight: import("@angular/core").InputSignal; /** * Text color variant. * @defaultValue 'inherit' (text-inherit) */ stTextColor: import("@angular/core").InputSignal; /** * Text overflow handling. * @defaultValue 'clip' */ stTextOverflow: import("@angular/core").InputSignal; /** * Line clamp — limits visible text to a given number of lines. * When not set, no line-clamp class is applied. */ stTextLineClamp: import("@angular/core").InputSignal; /** * Extra CSS classes merged after directive classes via `tailwind-merge`. * Useful for programmatic overrides (e.g., forwarded from a wrapper component). * Conflicting utilities in `stTextClass` win over directive defaults. */ stTextClass: import("@angular/core").InputSignal; /** @internal Static classes captured from the host element before the first render. */ private readonly hostStaticClasses; /** @internal Computed CSS class string merged via host binding */ protected computedClasses: import("@angular/core").Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }