import { Table } from './mapping'; import { Store } from './store'; /** * Primary Key (PK) class Decorator * * Defines the name of the table in the database for this mapping class. * * @param constructor The table class constructor */ export declare function PK(): (target: Table, propertyKey: string) => void; export declare function PK(property: string | Array): (tableClass: T) => T; /** * TableName class Decorator * * Defines the name of the table in the database for this mapping class. * * @param constructor The table class constructor */ export declare function TableName(tableName: string): (constructr: T) => T; /** * TableClass class Decorator (for Store classes) * * Defines the class that maps the db table used by this store. * * @param tableClass The table class */ export declare function TableClass(tableClass: typeof Table): Store)>(constructr: T) => T; /** * DtoClass class Decorator (for Store classes) * * Defines the class to be used as the DTO for the store. * * @param constructor The table class constructor */ export declare function DtoClass(dtoClass: { new (): object; }): Store)>(constructr: T) => T;