import { AfterContentInit, ElementRef } from '@angular/core';
import { SkyLibResourcesService } from '@skyux/i18n';
import { SkyModalService } from '@skyux/modals';
import { SkyTextExpandAdapterService } from './text-expand-adapter.service';
import * as i0 from "@angular/core";
export declare class SkyTextExpandComponent implements AfterContentInit {
    #private;
    /**
     * The title to display when the component expands the full text in a modal.
     * @default "Expanded view"
     */
    expandModalTitle: string | undefined;
    /**
     * The maximum number of text characters to display inline when users select the link
     * to expand the full text. If the text exceeds this limit, then the component expands
     * the full text in a modal instead.
     * @default 600
     */
    set maxExpandedLength(value: number | undefined);
    get maxExpandedLength(): number;
    /**
     * The maximum number of newline characters to display inline when users select
     * the link to expand the full text. If the text exceeds this limit, then
     * the component expands the full text in a modal view instead.
     * @default 2
     */
    set maxExpandedNewlines(value: number | undefined);
    get maxExpandedNewlines(): number;
    /**
     * The number of text characters to display before truncating the text.
     * To avoid truncating text in the middle of a word, the component looks for a space
     * in the 10 characters before the last character.
     * @default 200
     */
    set maxLength(value: number | undefined);
    get maxLength(): number;
    /**
     * The text to truncate.
     */
    set text(value: string | undefined);
    get text(): string;
    /**
     * Whether to replace newline characters in truncated text with spaces.
     */
    truncateNewlines: boolean;
    buttonText: string;
    contentSectionId: string;
    expandable: boolean;
    isExpanded: boolean | undefined;
    isModal: boolean;
    transitionHeight: number;
    containerEl: ElementRef | undefined;
    set textEl(value: ElementRef | undefined);
    get textEl(): ElementRef | undefined;
    constructor(resources: SkyLibResourcesService, modalSvc: SkyModalService, textExpandAdapter: SkyTextExpandAdapterService);
    textExpand(): void;
    animationEnd(): void;
    ngAfterContentInit(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextExpandComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextExpandComponent, "sky-text-expand", never, { "expandModalTitle": { "alias": "expandModalTitle"; "required": false; }; "maxExpandedLength": { "alias": "maxExpandedLength"; "required": false; }; "maxExpandedNewlines": { "alias": "maxExpandedNewlines"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "text": { "alias": "text"; "required": false; }; "truncateNewlines": { "alias": "truncateNewlines"; "required": false; }; }, {}, never, never, false, never>;
}
