import { ChargesCollection } from './charge'; import { Modifier, ModifiersCollection } from './modifier'; import { PaymentsCollection } from './payment'; import { ValidationModel } from './concerns/validations'; import { Operator } from './nomenclature'; import { IBillAttributes } from './interface'; export declare type GlobalModifier = Modifier; /** * * * @export * @class Bill * @extends {ErrorItem} */ export declare class Bill extends ValidationModel { isSaved: boolean; constructor(attributes?: IBillAttributes); /** * * * @type {ChargesCollection} */ charges: ChargesCollection; /** * * * @type {ModifiersCollection} */ modifiers: ModifiersCollection; /** * * * @type {number} * @memberOf Bill */ operatorId: number; /** * * * @type {PaymentsCollection} */ payments: PaymentsCollection; readonly modifier: GlobalModifier; /** * * * @returns {number} */ readonly total: number; /** * * * @returns {number} */ readonly balance: number; save(): boolean; toJson(useNomenclatureIds?: boolean): any; readonly operator: Operator; static new(attributes?: any): Bill; }