import { ICustomGoogleAnalyticsConfig } from '@progleasing/grit-universal-analytics'; export declare class GritMessage { private initialHeight; private wrapper; private wrapperObserver; displayShowMore: boolean; displaying: boolean; showMore: boolean; host: HTMLGritWcMessageElement; /** * It's the custom object to be passed into the `GoogleAnalytics.getInstance().pushCustomEvent()` function. */ analyticsCustomObj: ICustomGoogleAnalyticsConfig; /** * If it is set to false, no event will be pushed into Google Analytics. */ analyticsEnabled: boolean; /** Used by parent component to identify and handle different message elements . */ errorKey: string; /** * Text to display in the show more CTA in case * the message width is wider than the field and this * text is currently showing. */ showMoreText: { more: string; less: string; }; /** If true, shows error slot with animation. */ visible: boolean; handleErrorChange(): void; componentDidLoad(): void; connectedCallback(): void; disconnectedCallback(): void; private displayShowMoreCTA; private showMoreCTA; render(): any; private triggerAnalyticsEvent; }