import React from 'react'; import type { CollectionWithDefaults, FileOrImageField, MarkdownField, MediaPath } from '@staticcms/core'; import './MediaPopover.css'; export interface MediaPopoverProps { anchorEl: HTMLElement | null; url: string; text?: string; forImage?: boolean; collection: CollectionWithDefaults; field: T; onMediaToggle?: (open: boolean) => void; onMediaChange: (newValue: MediaPath) => void; onRemove?: () => void; onFocus?: () => void; onBlur?: () => void; } declare const MediaPopover: ({ anchorEl, url, text, forImage, collection, field, onMediaToggle, onMediaChange, onRemove, onFocus, onBlur, }: MediaPopoverProps) => React.JSX.Element; export default MediaPopover;