import { EventEmitter } from '../../stencil-public-runtime'; import { GritEventData, GritRadioEventData } from '../..'; import { SELECT_DIRECTION, SELECT_TYPE } from '../../common/interfaces/ui'; import { ICustomAnalyticsConfig } from '../../services/google-analytics.interfaces'; export declare class GritOptionSelect { private elements; private messageElement; private _value; displayShowMore: boolean; displaying: boolean; showMore: boolean; host: HTMLGritWcOptionSelectElement; /** * It's the custom event object to be passed into the `GoogleAnalytics.getInstance().pushCustomEvent()` function. */ analyticsCustomObj: ICustomAnalyticsConfig; /** * If it is set to false, no event will be pushed into Google Analytics. */ analyticsEnabled: boolean; /** Initial value checked, if type is checkbox we expect a String[], otherwise only one value */ value: string | string[]; /** Sets all the elements disabled. */ disabled: boolean; /** Direction where the input will be rendered. */ direction: SELECT_DIRECTION; /** Form name of the group */ name: string; /** Type of inputs to render, radio or checkbox */ type: SELECT_TYPE; /** If true, shows error slot with animation. */ error: boolean; onHandleError(err: any): void; handleCheckedValue(newValue: string | string[], oldValue: string | string[]): void; handleDisableProp(newValue: boolean): void; gritUpdate: EventEmitter>; handleOptionChange(event: CustomEvent>): void; componentDidLoad(): void; render(): any; }