import { BillItem } from './billItem'; import { Bill } from '../bill'; /** * * * @export * @abstract * @class BillCollection * @extends {Array} */ export declare abstract class BillCollection extends Array { /** * * * @type {Bill} */ protected _bill: Bill; /** * Creates an instance of BillCollection. * * @param {Bill} bill */ constructor(bill: Bill); readonly bill: Bill; /** * * * @param {BillItem} item * @returns {BillItem} */ add(item: BillItem): BillItem; /** * * * @param {BillItem} item * @returns {boolean} */ remove(item: BillItem): boolean; save(): boolean; toJson(useNomenclatureIds?: boolean): any; }