export type SwirlTextAlign = "start" | "center" | "end"; export type SwirlTextColor = "critical" | "default" | "disabled" | "highlight" | "on-action-primary" | "on-image" | "on-status" | "on-surface-highlight" | "on-surface-highlight-subdued" | "subdued" | "success" | "warning"; export type SwirlTextFontFamily = "code" | "text"; export type SwirlTextFontStyle = "normal" | "italic"; export type SwirlTextSize = "xs" | "sm" | "base" | "lg" | "xl" | "2xl"; export type SwirlTextTruncateDirection = "end" | "start"; export type SwirlTextWeight = "normal" | "medium" | "semibold" | "bold"; export type SwirlTextWhiteSpace = "inherit" | "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap" | "break-spaces"; /** * @slot slot - The text content. When provided, overrides the `text` prop. */ export declare class SwirlText { el: HTMLElement; align?: SwirlTextAlign; as?: string; balance?: boolean; color?: SwirlTextColor; fontFamily?: SwirlTextFontFamily; fontStyle?: SwirlTextFontStyle; lines?: number; responsive?: boolean; size?: SwirlTextSize; truncate?: boolean; truncateDirection?: SwirlTextTruncateDirection; weight?: SwirlTextWeight; whiteSpace?: SwirlTextWhiteSpace; private textEl; componentDidRender(): void; onWindowResize(): void; private handleTruncation; private rebalance; render(): any; }