/// import React from 'react'; import type { JSONSchema, LocaleProps, ThemeProps } from 'jamis-core'; import { DataSchema } from 'jamis-core'; import type { VariableItem } from '../../types'; 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("jamis-core").ThemeOutterProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { context: string; ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): JSX.Element; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly & import("jamis-core").ThemeOutterProps, 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("jamis-core").ThemeOutterProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly & import("jamis-core").ThemeOutterProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly & import("jamis-core").ThemeOutterProps, 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("jamis-core").ThemeOutterProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly & import("jamis-core").ThemeOutterProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps, keyof LocaleProps> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType<{ new (props: Omit & import("jamis-core").ThemeOutterProps): { context: string; ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): JSX.Element; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly & import("jamis-core").ThemeOutterProps>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & import("jamis-core").ThemeOutterProps>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof SchemaVariableList; }>; } & import("hoist-non-react-statics").NonReactStatics<{ new (props: Omit & import("jamis-core").ThemeOutterProps): { context: string; ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): JSX.Element; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly & import("jamis-core").ThemeOutterProps>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & import("jamis-core").ThemeOutterProps>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof SchemaVariableList; }, {}> & { ComposedComponent: { new (props: Omit & import("jamis-core").ThemeOutterProps): { context: string; ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): JSX.Element; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly & import("jamis-core").ThemeOutterProps>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & import("jamis-core").ThemeOutterProps>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof SchemaVariableList; }; }; export default _default;