import type { TruncationMode } from '../../../../../typography/text-ellipsis/TextEllipsis.js'; /** * Truncates text using the header font weight (500) map. * Used by Header and SeriesHeader components. */ export declare const getHeaderTruncatedText: (text: string | undefined | null, maxWidth: number | undefined, truncationMode: TruncationMode) => string; /** * Truncates text using the header font weight (500) map, distributing content * across multiple lines. Used by Header and SeriesHeader components for * multi-line start/middle truncation. * * Both 'start' and 'middle' modes use explicit `\n` line breaks (respected by * `white-space: pre-line`) so browser word-break heuristics are bypassed entirely. * This guarantees consistent output for text with or without natural word boundaries. */ export declare const getHeaderTruncatedTextMultiLine: (text: string | undefined | null, availableWidth: number | undefined, maxLines: number, truncationMode: TruncationMode) => string; //# sourceMappingURL=text-truncation-header.d.ts.map