import { UxModalService } from '@aurelia-ux/modal'; import { AureliaShopAdmin, ProductPart, AdminOrderModel, AdminProductModel, OrderedProduct } from 'aurelia-shop'; import { Global } from '../global'; export declare class ProductsPartsControl { global: Global; modalService: UxModalService; private element; shopId: string; productsParts: ProductPart[]; includedIn?: AdminOrderModel | AdminProductModel; orderedProduct?: OrderedProduct; saveIncludingModel: boolean; canEdit: boolean; shopAdmin: AureliaShopAdmin; partsLabel: string; total: number; ready: boolean; constructor(global: Global, modalService: UxModalService, element: HTMLElement); bind(): void; valueChanged(): Promise; shopIdChanged(): Promise; ensureBindings(): void; ensureMainProducts(): Promise; computeLabel(): Promise; computeTotal(): Promise; editProductsParts(): Promise; }