import { default as React } from 'react'; export type ImageDialogResult = { kind: 'url'; url: string; alt: string; } | { kind: 'file'; file: File; alt: string; }; export interface ImageDialogProps { open: boolean; allowUpload: boolean; acceptedImageTypes?: string[]; onCancel: () => void; onConfirm: (result: ImageDialogResult) => void; title?: string; } export declare const ImageDialog: React.FC;