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 * *
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