import { Model, Sequelize } from 'sequelize'; import { ModelStatic } from '../../d.ts'; import { OperandType, Operator } from '../enums'; import { DeviceInfoStatic } from './DeviceInfo'; export interface ISharingFormula extends Model { formulaId: number; isRoot: boolean | null; deviceId: number; operator: Operator; operandLType: OperandType; operandLConst: number | null; operandLFormulaId: number | null; operandLDeviceId: number | null; operandRType: OperandType; operandRConst: number | null; operandRFormulaId: number | null; operandRDeviceId: number | null; } export declare type SharingFormulaStatic = ModelStatic; interface ISharingFormulaReferencedModels { DeviceInfo: DeviceInfoStatic; } export declare function sharingFormulaModelFactory(sequelize: Sequelize, { DeviceInfo, }: ISharingFormulaReferencedModels): SharingFormulaStatic; export {};