/// import React from 'react'; import { DataSchema, JSONSchema, LocaleProps, ThemeProps } from 'amis-core'; import { VariableItem } from '../formula/Editor'; export interface SchemaVariableListProps extends LocaleProps, ThemeProps { schemas?: Array | JSONSchema; value?: string; onSelect?: (value: string, schema: JSONSchema) => void; selectMode?: 'list' | 'tree' | 'tabs'; placeholderRender?: (props: any) => JSX.Element | null; beforeBuildVariables?: (dataSchema: DataSchema) => void; } export interface SchemaVariableListState { variables: Array; } export declare class SchemaVariableList extends React.Component { state: { variables: any[]; }; dataSchema?: DataSchema; componentDidUpdate(prevProps: SchemaVariableListProps): void; schemasToVaraibles(props: SchemaVariableListProps): any[]; handleSelect(item: any): void; itemRender(option: any): JSX.Element; render(): JSX.Element; } declare const _default: { new (props: Omit & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }> & Readonly<{ children?: import("react").ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: import("react").ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: import("react").Context; ComposedComponent: import("react").ComponentType & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps>>; } & import("hoist-non-react-statics").NonReactStatics & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps>, {}> & { ComposedComponent: import("react").ComponentType & import("amis-core/lib/theme").ThemeOutterProps & LocaleProps>; }; export default _default;