import { PipeTransform } from '@angular/core'; /** * Define the accepted string values for the {@link TsTruncateAtPipe} position */ export declare type TsTruncatePositionType = 'start' | 'middle' | 'end'; /** * Define the allowed truncation position types Used by {@link TsTruncateAtPipe} position */ export declare const allowedTruncationTypes: TsTruncatePositionType[]; /** * The truncate at pipe * * @example * {{ 'Here is my string' | tsTruncateAt:7 }} // Outputs: `Here i…` * {{ 'Here is my string' | tsTruncateAt:8:'middle' }} // Outputs: `Here…ing` * * https://getterminus.github.io/ui-demos-release/components/pipes */ export declare class TsTruncateAtPipe implements PipeTransform { transform(value: string, charCount?: number, position?: TsTruncatePositionType): string | undefined; }