import type { EntityManager } from 'typeorm'; import { Component, Request } from '@pjblog/http'; import { Configs } from '../service'; export interface IGetConfigsControllerResponse { close: boolean; description: string; name: string; theme: string; article_size: number; keywords: string; copyright: string; icp: string; domain: string; favicon: string; articles: number; reads: number; notice: string; } export declare class GetConfigsController extends Component { readonly manager: EntityManager; readonly configs: Configs; readonly service: ArticleDBO; constructor(req: Request); getConfigs(): Promise; getCounts(): Promise; } import { ArticleDBO } from '../../article/dbos/article';