/// /// import React from 'react'; import { ClassNamesFn } from 'amis-core'; interface MapPickerProps { ak: string; coordinatesType: string; classnames: ClassNamesFn; classPrefix: string; value?: { address: string; lat: number; lng: number; city?: string; }; onChange?: (value: any) => void; } interface LocationItem { title?: string; address: string; lat: number; lng: number; city?: string; } interface MapPickerState { inputValue: string; locIndex?: number; locs: Array; sugs: Array; } export declare class BaiduMapPicker extends React.Component { state: MapPickerState; id: string; mapRef: React.RefObject; resultListRef: React.RefObject; placeholderInput?: HTMLInputElement; map: any; ac: any; geocoder: any; placeSearch: any; mark: any; geolocation: any; search: import("lodash").DebouncedFunc<() => void>; convertor: any; componentDidMount(): void; initMap(): Promise; syncLocation(lnglat: { lng: number; lat: number; address?: string; city?: string; }): Promise; handleChange(e: React.ChangeEvent): void; render(): React.JSX.Element; } declare const _default: { new (props: Omit & import("packages/amis-core/lib/theme").ThemeOuterProps): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & import("packages/amis-core/lib/theme").ThemeOuterProps>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof BaiduMapPicker; }; export default _default;