import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
import { MatDialog } from "@angular/material/dialog";
import DataSource from "devextreme/data/data_source";
import ODataStore from "devextreme/data/odata/store";
import { DxFormComponent } from 'devextreme-angular';
import { ServiceObject } from "mobicloud-core/api";
import { MobicloudCoreService } from "mobicloud-core";
import { MobiCloudDataService } from "mobicloud-core/api";
import * as i0 from "@angular/core";
export declare class ServiceObjectGeneralComponent implements OnInit, OnChanges {
    coreService: MobicloudCoreService;
    cloudDataService: MobiCloudDataService;
    private matDialog;
    serviceObject: ServiceObject | undefined;
    formserviceObject: ServiceObject | undefined;
    serviceObject_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;
    serviceObjectChanged: EventEmitter<ServiceObject>;
    serviceObject_store: ODataStore | undefined;
    form: DxFormComponent;
    constructor(coreService: MobicloudCoreService, cloudDataService: MobiCloudDataService, matDialog: MatDialog);
    ngOnInit(): void;
    initializeDataSource(): Promise<void>;
    ngOnChanges(changes: SimpleChanges): void;
    onServiceObjectChanged(sales_order: ServiceObject | undefined): void;
    getServiceObject(): void;
    onEditClick(): void;
    onSaveClick(): void;
    saveServiceObject(): void;
    onRetryClick(): void;
    onCancelEditClick(): void;
    customer_ds: DataSource | undefined;
    createCustomerDataSource(): Promise<void>;
    beacon_ds: DataSource | undefined;
    createBeaconDataSource(): Promise<void>;
    static ɵfac: i0.ɵɵFactoryDeclaration<ServiceObjectGeneralComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ServiceObjectGeneralComponent, "mobicloud-service-object-general", never, { "serviceObject": { "alias": "serviceObject"; "required": false; }; "serviceObject_expands": { "alias": "serviceObject_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; }; }, { "serviceObjectChanged": "serviceObjectChanged"; }, never, never, false, never>;
}
//# sourceMappingURL=service-object-general.component.d.ts.map