export interface RuntimeConfigIssue { path: string; message: string; } /** 只发布错误首行并限制长度,避免 YAML 代码片段或相邻凭据进入 CLI、JSON 与管理 API。 */ export declare function formatRuntimeConfigDiagnostic(error: unknown): string; /** 解析 YAML 并拒绝数组、标量等不可能作为 OneBots 根配置的值。 */ export declare function parseRuntimeConfig(source: string): Record; /** 启动前校验当前已加载插件实际会消费的完整配置。 */ export declare function validateRuntimeConfig(config: Record): void; /** 使用完整运行时契约校验单账号变更,不改写当前已应用配置。 */ export declare function validateAccountConfigCandidate(currentConfig: Record, configKey: string, accountConfig: Record): void; //# sourceMappingURL=runtime-config-validator.d.ts.map