import type { TemplateResult } from 'lit'; import { LitElement } from 'lit'; /** * @element nve-format-truncate * @description Truncates text at its start, center, or end while preserving the full text for assistive technology. * @documentation https://nvidia.github.io/elements/docs/elements/format-truncate/ * @since 0.0.0 * @entrypoint \@nvidia-elements/core/format-truncate * @slot - Text to truncate. The component flattens, trims, and normalizes mixed text and element nodes. * @beta */ export declare class FormatTruncate extends LitElement { #private; static styles: import("lit").CSSResult[]; static readonly metadata: { tag: string; version: string; }; /** * Location of the ellipsis. Use start or end to preserve one edge, or center to preserve both edges. */ position: 'start' | 'center' | 'end'; /** * Text unit used for center truncation. Character preserves graphemes, word preserves words, and path preserves path segments. */ strategy: 'character' | 'word' | 'path'; /** * Edge favored by center truncation. The favored edge keeps at least the configured number of units. */ bias: 'start' | 'end'; /** * Number of strategy units retained at the biased edge during center truncation. */ preserve: number; /** @private */ _internals: ElementInternals; connectedCallback(): void; disconnectedCallback(): void; connectedMoveCallback(): void; render(): TemplateResult; }