import { AfterViewInit, ChangeDetectorRef } from '@angular/core';
import { ApiService } from '@dotgov/core';
import { Subject } from 'rxjs';
import { BuilderService } from '../../services/builder.service';
export declare class BPMNModelerComponent implements AfterViewInit {
    private api;
    private ref;
    private builder;
    modeler: any;
    extraPaletteEntries: any;
    commandQueue: Subject<any>;
    rawXml: any;
    private _url;
    url: string;
    preview: boolean;
    constructor(api: ApiService, ref: ChangeDetectorRef, builder: BuilderService);
    readonly canvas: any;
    readonly predownloads: {
        models: string;
    };
    readonly developer: boolean;
    readonly modelerSettings: {
        container: string;
        moddleExtensions: {
            custom: {
                name: string;
                prefix: string;
                uri: string;
                xml: {
                    tagAlias: string;
                };
                types: ({
                    name: string;
                    extends: string[];
                    superClass: string[];
                    properties: ({
                        name: any;
                        isAttr: boolean;
                        type: string;
                    } | {
                        name: string;
                        isAttr: boolean;
                        type: string;
                        value: boolean;
                    } | {
                        name: string;
                        type: string;
                        isAttr?: undefined;
                        value?: undefined;
                    })[];
                } | {
                    name: string;
                    properties: {
                        name: string;
                        type: string;
                    }[];
                    extends?: undefined;
                    superClass?: undefined;
                } | {
                    name: string;
                    properties: ({
                        name: string;
                        isAttr: boolean;
                        type: string;
                        isMany?: undefined;
                    } | {
                        name: string;
                        type: string;
                        isMany: boolean;
                        isAttr?: undefined;
                    })[];
                    extends?: undefined;
                    superClass?: undefined;
                } | {
                    name: string;
                    extends: string[];
                    properties: ({
                        'name': string;
                        'isAttr': boolean;
                        'type': string;
                        'value': string;
                        label?: undefined;
                        choices?: undefined;
                    } | {
                        'name': string;
                        'isAttr': boolean;
                        'label': string;
                        'type': string;
                        'value': string;
                        'choices': {
                            'name': string;
                            'value': string;
                        }[];
                    })[];
                    superClass?: undefined;
                } | {
                    name: string;
                    extends: string[];
                    properties: {
                        'name': string;
                        'isAttr': boolean;
                        'type': string;
                    }[];
                    superClass?: undefined;
                })[];
                'emumerations': any[];
                'associations': any[];
            };
        };
    };
    ngAfterViewInit(): void;
    private save(xml, err);
    private createModeler();
    private loadPredownloads();
    private loadBPMN(url?);
    private postLoad(err);
    private resetZoom();
    private exportToSVG();
    private sanitizeXML(_data?);
    private prettifyXML(xml);
}
