import { Event } from "../Events"; export type ContentSavedReason = /** * The diagram inside the bpmnjs / dmnjs editor has been changed by the user. */ "diagram.changed" /** * The XML inside the XML editor has been changed by the user. */ | "xml.changed" /** * The view has been changed, e.g. from the bpmnjs editor to the XML editor or the other way. */ | "view.changed"; /** * Indicates that the content of the model has changed for some reason. The reasons are documented * above. */ export interface ContentSavedEventData { /** * The new XML model. */ xml: string; /** * The new SVG model. Only filled, if the reason for the change is the bpmnjs / dmnjs editor. */ svg: string | undefined; /** * The reason for the change. */ reason: ContentSavedReason; } export declare const createContentSavedEvent: (xml: string, svg: string | undefined, reason: ContentSavedReason) => Event; export declare const isContentSavedEvent: (event: Event) => event is Event;