import * as Knex from 'knex'; import { MapDataType, PartialBy } from './data_types'; import { AbstractCrudModel, Data } from './abstract_crud'; declare const collectionColumns: { readonly id: "coll_type_id"; readonly name: "coll_type_name"; readonly created: "input_date"; readonly updated: "last_update"; }; export declare type CollectionData = Data & { name: string; }; declare type RawCollectionData = MapDataType; export declare class Collection extends AbstractCrudModel { constructor(db: Knex); protected toPartialRaw(data: Partial): Promise<{ coll_type_id: number | undefined; coll_type_name: string | undefined; input_date: Date | undefined; last_update: Date | undefined; }>; protected toRaw(data: PartialBy): Promise, "coll_type_id">>; protected toData(data: RawCollectionData): Promise<{ id: number; name: string; created: Date | undefined; updated: Date | undefined; }>; } export {};