import { VoucherTypeActionEnum } from "../enums/voucher_type_action_enum"; import { IVoucherTypeFlowConfigContextData } from "../flow-configs/voucher_type_flow.config"; import { IUserEntity } from "../interface/user.entity.interface"; import { IRowActions } from "./interface/row-actions.interface"; import { UserEntityModel } from "./user.entity.model"; import { EntityEnum } from "../interface/entity.utils.interface"; import { RelationConfigs } from "../interface/relation-config.interface"; import { BaseEntityModel } from "./base.entity.model"; import { VoucherTypeStatusEnum } from "../enums/voucher_type_status_enum"; import { IVoucherTypeEntity } from "../interface/voucher_type.entity.interface"; import { CountryEntityModel } from "./country.entity.model"; import { ExpenseHeadEntityModel } from "./expense_head.entity.model"; import { GstRateEntityModel } from "./gst_rate.entity.model"; import { OfficeLocationEntityModel } from "./office_location.entity.model"; import { OrganizationTypeEntityModel } from "./organization_type.entity.model"; import { StateEntityModel } from "./state.entity.model"; import { TdsRateEntityModel } from "./tds_rate.entity.model"; import { TdsRateVoucherTypeMappingEntityModel } from "./tds_rate_voucher_type_mapping.entity.model"; import { VendorEntityModel } from "./vendor.entity.model"; import { VendorInvoiceEntityModel } from "./vendor_invoice.entity.model"; import { VendorInvoiceItemEntityModel } from "./vendor_invoice_item.entity.model"; export declare class VoucherTypeEntityModel extends BaseEntityModel implements IVoucherTypeEntity { id: number; name: string; status: VoucherTypeStatusEnum; createdOn: number; updatedOn: number; createdBy: number; updatedBy: number; tdsRateVoucherTypeMappings?: TdsRateVoucherTypeMappingEntityModel[]; expenseHeads?: ExpenseHeadEntityModel[]; vendorInvoiceItems?: VendorInvoiceItemEntityModel[]; static relationConfigs: RelationConfigs<[ EntityEnum.TDS_RATE_VOUCHER_TYPE_MAPPING, EntityEnum.EXPENSE_HEAD, EntityEnum.VENDOR_INVOICE_ITEM ], EntityEnum.VOUCHER_TYPE>; static fromEntity(entity: IVoucherTypeEntity): VoucherTypeEntityModel; getRelationConfigs(): any[]; get tdsRates(): TdsRateEntityModel[]; get organizationTypes(): OrganizationTypeEntityModel[] | undefined; get vendors(): VendorEntityModel[] | undefined; get states(): StateEntityModel[] | undefined; get countrys(): CountryEntityModel[] | undefined; get vendorInvoices(): VendorInvoiceEntityModel[] | undefined; get officeLocations(): OfficeLocationEntityModel[] | undefined; get gstRates(): GstRateEntityModel[] | undefined; getNextStatus(currentUser: IUserEntity, action: VoucherTypeActionEnum, voucherTypeFlowConfigContextData: IVoucherTypeFlowConfigContextData): VoucherTypeStatusEnum; getAvailableActions(currentUser: UserEntityModel, config?: { combinedActions?: Record; customLabels?: Partial>; }): IRowActions[]; getUpdateActionVisibility(currentUser: UserEntityModel): { [key: string]: () => boolean; }; }