import { Container } from 'aurelia-framework'; import { Address } from 'aurelia-deco'; import { UxModalService, UxModalServiceResult } from '@aurelia-ux/modal'; import { AdminCustomerModel, ShopComment, AdminRecurringOrderModel } from 'aurelia-shop'; import { Global } from '../global'; export declare class CustomerDialog { private global; private modalService; private container; mode: 'create' | 'edit'; shopId: string; customer: AdminCustomerModel; name: string; private shopAdmin; canRemove: boolean; private lastUpdateText; private customerId; private isAdmin; private transactions; private allCreditUsed; private creditTotal; private debitsTotal; private numberOrders; private averageBasket; recurringOrders: AdminRecurringOrderModel[]; constructor(global: Global, modalService: UxModalService, container: Container); activate(params: any): void; shopIdChanged(): Promise; fetchRecurringOrders(): Promise; newRecurringOrder(): Promise; openRecurringOrder(recurringOrderId: string): Promise; canDeactivate(result: UxModalServiceResult): Promise; save(): Promise; openNewAddressDialog(): Promise; openEditAddressDialog(address: Address): Promise; addComment(): Promise; editComment(comment: ShopComment): Promise; sendInvitation(type: 'email' | 'mobile'): Promise; revokeInvitation(type: 'email' | 'mobile'): Promise; showInvoices(): Promise; fetchOrders(): Promise; }