import { AbstractModel } from './abstract-model'; import { RelationMappings } from 'objection'; import { User } from '.'; export declare class DiscussionPost extends AbstractModel { path: string; text: string; userId: number; readonly id: number; date: Date; user?: User; constructor(path: string, text: string, userId: number); static tableName: string; static jsonSchema: { type: string; required: string[]; properties: { id: { type: string; }; text: { type: string; }; userId: { type: string; }; }; }; static relationMappings: RelationMappings; }