import { EventEmitter } from "../../stencil-public-runtime"; import { StzhClampClampEvent, StzhClampExpandEvent, StzhLinkSize } from "../../index"; import { StzhClampLocalizedText } from "./stzh-clamp.localization"; /** * @slot - Slot for clamp text */ export declare class StzhClamp { /** Translation strings */ localization: StzhClampLocalizedText; /** Line number */ lines: number; /** Line number above small breakpoint */ linesSmall: number; /** Line number above medium breakpoint */ linesMedium: number; /** Line number above large breakpoint */ linesLarge: number; /** Line number above ultra breakpoint */ linesUltra: number; /** Whether expand link is shown */ showExpandLink: boolean; /** Expand link Size variant */ expandLinkSize: StzhLinkSize; /** Whether clamping is expanded */ expanded: boolean; /** Whether the text is currently clamped (readonly) */ clamped: boolean; element: HTMLStzhClampElement; /** Event when clamping state changed */ stzhClamp: EventEmitter; /** Event when expanding state changed */ stzhExpand: EventEmitter; update(): Promise; private textElement; private textCloneElement; private debounceResize; private resizeObserver; private mutationObserver; private renderPromiseResolve; private updateClamped; private handleResize; private handleMutaton; private handleExpandClick; private waitForNextRender; componentWillLoad(): Promise; componentDidLoad(): void; componentDidRender(): void; connectedCallback(): void; disconnectedCallback(): void; render(): any; }