import * as i0 from '@angular/core'; import { PipeTransform } from '@angular/core'; import { BooleanInput } from '@angular/cdk/coercion'; /** * @description * Pipe for truncating strings to a specified length with trailing indicator. * Supports both start and end truncation based on limit sign. * Positive limit truncates from the end, negative limit truncates from the start. * Commonly used for displaying long text in constrained spaces like tables, cards, or lists. * @param value - The string to truncate * @param limit - Maximum character length (positive for end truncation, negative for start truncation). Default: 40 * @param trail - Trailing indicator appended to truncated text. Default: '…' (ellipsis character U+2026) * @returns Truncated string with trail indicator, or original string if within limit */ declare class EuiTruncatePipe implements PipeTransform { transform(value: string, limit?: number, trail?: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class EuiCoerceBooleanPipe implements PipeTransform { transform(value: BooleanInput): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } export { EuiCoerceBooleanPipe, EuiTruncatePipe }; //# sourceMappingURL=eui-components-pipes.d.ts.map