import { Component, LifeError, Meta } from '@pjblog/manager'; import { Http } from '@pjblog/http'; import { Markdown } from '@pjblog/markdown'; import { Statistic } from './statistic'; export declare class Article extends Component { private readonly Logger; private readonly TypeORM; private readonly Cache; private readonly Http; private readonly Markdown; private MarkdownWebsocketConnection; readonly statistic: Statistic; private readonly drafts; constructor(meta: Meta); get logger(): import("winston").Logger; get connection(): import("typeorm").DataSource; get cache(): import("@pjblog/cache").ClassicCache; get http(): Http; get markdown(): Markdown; onerror(e: LifeError): void; clearDraft(id?: number): void; initialize(): Promise Promise)>; private createMarkdownWebsocketConnection; }