import sequelize, { DecimalDataType, DecimalDataTypeConstructor, DecimalDataTypeOptions } from 'sequelize'; import { AbstractNumberOptions, AbstractNumber } from './AbstractNumber'; export interface DecimalOptions extends AbstractNumberOptions { type: DecimalDataTypeConstructor | DecimalDataType; } export declare class Decimal extends AbstractNumber> { protected numberOptions: DecimalDataTypeOptions; readonly primaryKey: () => Decimal>; readonly notNull: () => Decimal>; readonly default: (value: number) => Decimal>; scale(length: number): this; precision(length: number): this; /** * @deprecated Decimal doesn't support length */ length(DO_NOT_USE_THIS_METHOD: never): this; protected getType(): sequelize.DecimalDataTypeConstructor; }