import { OnInit } from '@angular/core';
import * as i0 from "@angular/core";
/**
 * Component for displaying a "read more" link after a text.
 */
export declare class TextReadMoreComponent implements OnInit {
    /** Initial text  */
    text: string;
    /** Number of parts to display (depending of the unit)  */
    limit: number;
    /** "Show more" label to display */
    showMoreLabel: string;
    /** "Show less" label to display  */
    showLessLabel: string;
    /** Splitting unit [ word | character] */
    unit: string;
    /** trailing string */
    trailing: string;
    /** The text that will be display */
    textToDisplay: string;
    /** boolean to know if initial text is expanded  */
    isExpanded: boolean;
    /** boolean to know if limit is reached */
    isLimitReached: boolean;
    /** The truncated text  */
    private sTruncateText;
    ngOnInit(): void;
    /**
     * Allow to toggle content of the field
     * @param event : Click event
     */
    toggleText(event: Event): void;
    /**
     * Show the link label depending of isExpanded
     */
    get linkLabel(): string;
    /**
     * Truncate initial text using the defined limit and unit.
     */
    private _truncateText;
    static ɵfac: i0.ɵɵFactoryDeclaration<TextReadMoreComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TextReadMoreComponent, "ng-core-text-read-more", never, { "text": { "alias": "text"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "showMoreLabel": { "alias": "showMoreLabel"; "required": false; }; "showLessLabel": { "alias": "showLessLabel"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "trailing": { "alias": "trailing"; "required": false; }; }, {}, never, never, false, never>;
}
