/**
 * 语言策略契约 — 问题四十八 (Language Policy Contract)。
 *
 * 核心规则:
 * - 用户可见语义中文优先
 * - 机器字段、event key、API field、enum、contract id 保持英文稳定
 * - stderr/logger 不得替代 UserFeedbackMessage / status / tool return
 * - 用户必须能看到 SoloForge 是否触发、route、缺失输入、降级、阻断、下一步
 */
export type LanguagePolicyStatus = "compliant" | "violation" | "override";
export interface LanguagePolicyContract {
    policy_id: string;
    scope: "soloforge_core" | "user_project";
    rules: LanguagePolicyRule[];
}
export interface LanguagePolicyRule {
    rule_id: string;
    domain: "user_feedback" | "log_message" | "doc_comment" | "code_comment" | "status_report" | "diagnostic_message" | "api_field" | "event_key" | "enum_value";
    required_language: "zh_priority" | "en_stable";
    description_zh: string;
}
export interface LanguagePolicyEvaluation {
    evaluated_at: string;
    scope: "soloforge_core" | "user_project";
    findings: LanguagePolicyFinding[];
    total_checked: number;
    violations: number;
    compliant: number;
    status: LanguagePolicyStatus;
    override_evidence?: string;
}
export interface LanguagePolicyFinding {
    rule_id: string;
    severity: "hard_fail" | "warning" | "advisory";
    location: string;
    message_zh: string;
    detail: string;
}
/**
 * 获取 SoloForge 核心语言规则。
 */
export declare function getCoreLanguageRules(): LanguagePolicyRule[];
/**
 * 评估语言策略合规性。
 */
export declare function evaluateLanguagePolicy(scope: "soloforge_core" | "user_project", checks: Array<{
    rule_id: string;
    location: string;
    passed: boolean;
    detail: string;
}>, overrideEvidence?: string): LanguagePolicyEvaluation;
//# sourceMappingURL=language_policy_contract.d.ts.map