///
import React from 'react';
import { SchemaVariableListProps } from './SchemaVariableList';
export interface SchemaVariableListPickerProps extends SchemaVariableListProps {
children: (props: {
onClick: (e: React.MouseEvent) => void;
setState: (state: any) => void;
isOpened: boolean;
}) => JSX.Element;
value?: any;
title?: string;
onConfirm?: (value?: any) => void;
onCancel?: () => void;
onPickerOpen?: (props: any) => any;
placeholderRender?: (props: any) => JSX.Element | null;
}
export declare class SchemaVariableListPicker extends React.Component {
render(): JSX.Element;
}
declare const _default: {
new (props: Omit & import("amis-core/lib/theme").ThemeOutterProps & import("amis-core").LocaleProps, keyof import("amis-core").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 & import("amis-core").LocaleProps, keyof import("amis-core").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 & import("amis-core").LocaleProps, keyof import("amis-core").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 & import("amis-core").LocaleProps, keyof import("amis-core").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 & import("amis-core").LocaleProps, keyof import("amis-core").LocaleProps> & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps & import("amis-core").LocaleProps, keyof import("amis-core").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 & import("amis-core").LocaleProps, keyof import("amis-core").LocaleProps> & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps & import("amis-core").LocaleProps, keyof import("amis-core").LocaleProps> & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps & import("amis-core").LocaleProps, keyof import("amis-core").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 & import("amis-core").LocaleProps, keyof import("amis-core").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 & import("amis-core").LocaleProps>>;
} & import("hoist-non-react-statics").NonReactStatics & import("amis-core/lib/theme").ThemeOutterProps & import("amis-core").LocaleProps>, {}> & {
ComposedComponent: import("react").ComponentType & import("amis-core/lib/theme").ThemeOutterProps & import("amis-core").LocaleProps>;
};
export default _default;