import React from "react";
import { FieldDescriptor } from "../pageModel";
export interface AiImageEditorDialogProps {
    open: boolean;
    onClose: () => void;
    onComplete: (result: AiImageEditResult) => void;
    fieldDescriptor?: FieldDescriptor;
    initialPrompt?: string;
    /** Current raw value of the field (for revert purposes) */
    originalRawValue?: string;
    /** Variant name if editing a picture field variant */
    variantName?: string;
    /** Current image URL to pre-load as the first input image */
    currentImageSrc?: string;
    /** Current media item ID (alternative to currentImageSrc) */
    currentMediaItemId?: string;
}
export interface AiImageEditResult {
    success: boolean;
    agentId?: string;
    error?: string;
}
export declare const AiImageEditorDialog: React.ForwardRefExoticComponent<AiImageEditorDialogProps & React.RefAttributes<{
    getAgentId: () => string | null;
}>>;
export default AiImageEditorDialog;
