import type { Model, ModelOptions, ModelStatic } from '../../model.js'; /** * The `@Table` decorator is used to configure a model. It is used on a model class, and takes an object as parameter.
* Using this decorator is completely optional, you only need to use it if you want to configure one of the options of your model. * * @example * ```ts * @Table({ * tableName: 'users', * timestamps: false, * }) * class User extends Model, InferCreationAttributes> {} * ``` * * @param options */ export declare function Table(options: ModelOptions): ClassDecorator; export declare function Table(target: ModelStatic): void; export declare namespace Table { var Abstract: typeof AbstractTable; } declare function AbstractTable(options: Omit, 'tableName' | 'name'>): ClassDecorator; declare function AbstractTable(target: ModelStatic): void; export {}; //# sourceMappingURL=table.d.ts.map