import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
import { MatDialog } from "@angular/material/dialog";
import ODataStore from "devextreme/data/odata/store";
import { DxFormComponent } from 'devextreme-angular';
import { Project } from "mobicloud-core/api";
import { MobicloudCoreService } from "mobicloud-core";
import { MobiCloudDataService } from "mobicloud-core/api";
import * as i0 from "@angular/core";
export declare class ProjectDescriptionComponent implements OnInit, OnChanges {
    coreService: MobicloudCoreService;
    cloudDataService: MobiCloudDataService;
    private matDialog;
    project: Project | undefined;
    formProject: Project | undefined;
    project_expands: string[] | undefined;
    editAllowed: boolean | undefined;
    inEditMode: boolean | undefined;
    width: number | undefined;
    contentheight: number | undefined;
    isLoadingData: boolean | undefined;
    loadingText: string | undefined;
    hasErrors: boolean | undefined;
    errorText: string | undefined;
    projectChanged: EventEmitter<Project>;
    project_store: ODataStore | undefined;
    form: DxFormComponent;
    constructor(coreService: MobicloudCoreService, cloudDataService: MobiCloudDataService, matDialog: MatDialog);
    ngOnInit(): void;
    initializeDataSource(): Promise<void>;
    ngOnChanges(changes: SimpleChanges): void;
    onProjectChanged(sales_order: Project | undefined): void;
    getProject(): void;
    onEditClick(): void;
    onSaveClick(): void;
    saveProject(): void;
    onRetryClick(): void;
    onCancelEditClick(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ProjectDescriptionComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ProjectDescriptionComponent, "mobicloud-project-description", never, { "project": { "alias": "project"; "required": false; }; "project_expands": { "alias": "project_expands"; "required": false; }; "editAllowed": { "alias": "editAllowed"; "required": false; }; "inEditMode": { "alias": "inEditMode"; "required": false; }; "width": { "alias": "width"; "required": false; }; "contentheight": { "alias": "contentheight"; "required": false; }; "isLoadingData": { "alias": "isLoadingData"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "hasErrors": { "alias": "hasErrors"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; }, { "projectChanged": "projectChanged"; }, never, never, false, never>;
}
//# sourceMappingURL=project-description.component.d.ts.map