import * as React from "react"; import { Base, PanelModel, LocalizableString, Question } from "survey-core"; import { ISurveyCreator } from "./reactquestion"; export declare class SurveyElementBase extends React.Component { static renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element; static renderQuestionDescription(question: Question | PanelModel): React.JSX.Element; private changedStatePropNameValue; constructor(props: any); componentDidMount(): void; componentWillUnmount(): void; componentDidUpdate(prevProps: any, prevState: any): void; private _allowComponentUpdate; protected allowComponentUpdate(): void; protected denyComponentUpdate(): void; private prevStateElements; shouldComponentUpdate(nextProps: any, nextState: any): boolean; render(): React.JSX.Element | null; protected wrapElement(element: React.JSX.Element): React.JSX.Element; protected get isRendering(): boolean; protected getRenderedElements(): Base[]; private startEndRendering; protected canRender(): boolean; protected renderElement(): React.JSX.Element | null; protected get changedStatePropName(): string | undefined; private makeBaseElementsReact; private unMakeBaseElementsReact; private unMakeBaseElementsReactive; protected disableStateElementsRerenderEvent(els: Array): void; protected getStateElements(): Array; protected getStateElement(): Base | null; protected get isDisplayMode(): boolean; protected renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element; private canMakeReact; private propertyValueChangedHandler; private onArrayChangedCallback; private makeBaseElementReact; protected canUsePropInState(key: string): boolean; private unMakeBaseElementReact; } export interface IReactSurveyElementProps { cssClasses: any; } export declare class ReactSurveyElement

extends SurveyElementBase { constructor(props: any); protected get cssClasses(): any; } export declare class SurveyQuestionElementBase extends SurveyElementBase { control: HTMLElement; content: HTMLElement; constructor(props: any); componentDidUpdate(prevProps: any, prevState: any): void; componentDidMount(): void; componentWillUnmount(): void; protected updateDomElement(): void; protected get questionBase(): Question; protected getRenderedElements(): Base[]; protected get creator(): ISurveyCreator; protected canRender(): boolean; shouldComponentUpdate(nextProps: any, nextState: any): boolean; protected get isDisplayMode(): boolean; protected wrapCell(cell: any, element: React.JSX.Element, reason: string): React.JSX.Element; setControl(element: HTMLElement | null): void; setContent(element: HTMLElement | null): void; } export declare class SurveyQuestionUncontrolledElement extends SurveyQuestionElementBase { constructor(props: any); protected get question(): T; updateValueOnEvent: (event: any) => void; protected setValueCore(newValue: any): void; protected getValueCore(): any; protected updateDomElement(): void; private getValue; }