import { Model, RelationMappings } from 'objection'; import { ContentGroup } from './content-group'; import { AbstractModel } from './abstract-model'; import { Locale } from './locale'; import { TagSystem } from './tag-system'; export declare enum ContentLeafTypes { Problem = "PROBLEM", Supplement = "SUPPLEMENT", Comment = "COMMENT" } export declare class ContentLeaf extends AbstractModel { type: ContentLeafTypes; content: any; localeId: number; chainId: string; readonly id: number; readonly created?: Date; extendedFromChainId: string | null; contentGroups: ContentGroup[]; locale?: Locale; sortOrder?: number; page?: number; relations: ContentLeaf[]; systemTags: TagSystem[]; constructor(type: ContentLeafTypes, content: any, localeId: number, chainId?: string); static tableName: string; static jsonAttributes: string[]; static jsonSchema: { type: string; required: string[]; properties: { id: { type: string; }; chainId: { type: string; }; type: { type: string; enum: ContentLeafTypes[]; }; content: { type: string; }; localeId: { type: string; }; extendedFromChainId: { type: string[]; }; }; }; static relationMappings: RelationMappings; remove(): import("objection").QueryBuilder; $beforeInsert(): void; }