import { LogConfig } from './log'; /** * 客户端全局配置,在/public下,文件名默认为app.json */ export interface WebConfig { /** * 服务地址 */ serverUrl?: string; /** * 日志配置 */ logConfig?: LogConfig; } /** * 服务全局配置,在根目录下,文件名默认为app.json */ export declare class GlobalAppConfig { /** * 应用程序根目录(系统自动设置) */ rootPath?: string; /** * app配置目录 */ app?: string; /** * 客户端的服务器地址 */ serverUrl?: string; /** * Web服务主机地址 */ host?: string; /** * Web服务端口 */ port?: number; /** * 私钥文件路径 */ privateKeyPath?: string; /** * 证书文件路径 */ certificatePath?: string; /** * 数据库Url */ dbUrl?: string; /** * 数据库选项 */ dbOptions?: any; /** * 服务器日志配置 */ serverLogConfig?: LogConfig; /** * 客户端日志配置 */ clientLogConfig?: LogConfig; } export declare const DefaultServerAppConfigFileName = "serverApp"; export declare const DefaultClientAppConfigFileName = "clientApp";