export default ImagePicker; /** * Allows a user to select or remove an image using the media modal or via * direct URL entry. This component is a thin wrapper around `MediaPicker` and * sets the allowed types for the `MediaPicker` to `image` as well as provides a * custom preview component that embeds the selected image in the editor. */ declare function ImagePicker({ className, imageSize, displayControlsInToolbar, onReset, onUpdate, onUpdateURL, value, valueURL, }: { className: any; imageSize: any; displayControlsInToolbar: any; onReset: any; onUpdate: any; onUpdateURL: any; value: any; valueURL: any; }): import("react/jsx-runtime").JSX.Element; declare namespace ImagePicker { namespace defaultProps { let className: string; let imageSize: string; let displayControlsInToolbar: boolean; let onUpdateURL: null; let valueURL: string; } namespace propTypes { let className_1: PropTypes.Requireable; export { className_1 as className }; let imageSize_1: PropTypes.Requireable; export { imageSize_1 as imageSize }; let displayControlsInToolbar_1: PropTypes.Requireable; export { displayControlsInToolbar_1 as displayControlsInToolbar }; export let onReset: PropTypes.Validator<(...args: any[]) => any>; export let onUpdate: PropTypes.Validator<(...args: any[]) => any>; let onUpdateURL_1: PropTypes.Requireable<(...args: any[]) => any>; export { onUpdateURL_1 as onUpdateURL }; export let value: PropTypes.Validator; let valueURL_1: PropTypes.Requireable; export { valueURL_1 as valueURL }; } } import PropTypes from 'prop-types'; //# sourceMappingURL=index.d.ts.map