exportableObjects
BPMN package exports exportableObjects namespace which contains default exportable object classes which are used during an export.
Classes​
Types​
EventDefinition​
interface EventDefinition {
    type: string;
    marker: string;
    interrupting: boolean;
}
Lane​
interface Lane {
    id: string;
    fullyQualifiedId: string;
    label: string | null;
    sublanes: Lane[];
    bbox: {
        x: number;
        y: number;
        width: number;
        height: number;
    };
}
Note, that fullyQualifiedId should be a XML compatible unique id.
Orientation​
type Orientation = "horizontal" | "vertical";