/** * Modal helper — thin backdrop + container that mounts the editor * shell full-screen. The shell owns the entire chrome (top bar, * rails, bottom bar) including Apply and Close, so the modal no * longer renders a separate header/footer. * * Back-compat: the returned promise still resolves with an * RpEditorResult on Apply or null on Close/Escape, matching the * pre-redesign API exactly. */ import { RpEditorConfig, RpEditorResult } from './types/index.js'; export interface ModalOptions { image: File | Blob | string; config?: Partial; onApply?: (result: RpEditorResult) => void; onClose?: () => void; } export declare function openEditorModal(options: ModalOptions): Promise;