import * as Knex from 'knex'; import { MapDataType, PartialBy } from './data_types'; import { AbstractCrudModel, Data } from './abstract_crud'; declare const contentTypeColumns: { readonly id: "id"; readonly type: "content_type"; readonly code: "code"; readonly marcPrefix: "code2"; readonly created: "input_date"; readonly updated: "last_update"; }; export declare type ContentTypeData = Data & { type: string; code: string; marcPrefix: string; }; export declare type PartialContentTypeData = PartialBy; declare type RawContentTypeData = MapDataType; export declare class ContentType extends AbstractCrudModel { constructor(db: Knex); protected toPartialRaw(data: Partial): Promise<{ id: number | undefined; content_type: string | undefined; code: string | undefined; code2: string | undefined; input_date: Date | undefined; last_update: Date | undefined; }>; protected toRaw(data: PartialBy): Promise, "id">>; protected toData(data: RawContentTypeData): Promise<{ id: number; type: string; code: string; marcPrefix: string; created: Date | undefined; updated: Date | undefined; }>; } export {};