import type { PendingEdit, PendingOperation } from '../image-tools/host.js'; export declare function imageEditState(): { views: { readonly pendingEdit: PendingEdit | null; readonly _pendingEdit: PendingOperation | null; readonly _imageEditError: string | null; }; actions: { _setPendingEdit(value: PendingOperation | null): void; _setImageEditError(message: string | null): void; beforeDestroy: () => void; beforeDetach: () => void; }; };