import * as Knex from 'knex'; import { MapDataType, PartialBy } from './data_types'; import { AbstractCrudModel, Data } from './abstract_crud'; declare const mediaTypeColumns: { readonly id: "id"; readonly type: "media_type"; readonly code: "code"; readonly marcPrefix: "code2"; readonly created: "input_date"; readonly updated: "last_update"; }; export declare type MediaTypeData = Data & { type: string; code: string; marcPrefix: string; }; export declare type PartialMediaTypeData = PartialBy; declare type RawMediaTypeData = MapDataType; export declare class MediaType extends AbstractCrudModel { constructor(db: Knex); protected toPartialRaw(data: Partial): Promise<{ id: number | undefined; media_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: RawMediaTypeData): Promise<{ id: number; type: string; code: string; marcPrefix: string; created: Date | undefined; updated: Date | undefined; }>; } export {};