import * as _angular_core from '@angular/core'; /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE */ /** Semantic + display variants for {@link WrTypography}. */ type WrTypographyVariant = 'display' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'lead' | 'body' | 'small' | 'caption' | 'overline' | 'code' | 'list' | 'link'; /** Horizontal alignment. */ type WrTypographyAlign = 'start' | 'center' | 'end' | 'justify'; /** Color tone — maps to a `--wr-color-*` token. */ type WrTypographyTone = 'dark' | 'medium' | 'primary' | 'success' | 'warning' | 'danger'; /** * Semantic typography directive. Attaches to any native element and * applies the visual treatment for the chosen `variant` (`h1`–`h6`, * `display`, `lead`, `body`, `small`, `caption`, `overline`, `code`). * * Reads from the same `--wr-text-*` / `--wr-font-weight-*` / `--wr-leading-*` * tokens used by the opt-in typography utility classes — themeable by * overriding tokens at `:root`. * * @example * ```html *
A developer-first library.
* v1.6.0 — released today *inject(WrTheme)
* ```
*
* @see https://ngwr.dev/typography/overview
*/
declare class WrTypography {
/** Visual variant. @default 'body' */
readonly variant: _angular_core.InputSignal