import { resolveProjectPath } from "../args.js";
import type { ArtifactKind } from "../../engine/contracts/artifact_contract_registry.js";
export { resolveProjectPath };
export declare function cmdCheckWrite(): Promise<void>;
export declare function isImplementationSourcePath(relativeFilePath: string): boolean;
export declare function isDesignArtifactPath(relativeFilePath: string): boolean;
export declare function denyPreToolUse(reason: string): void;
export declare function evaluateImplementationWriteGate(projectPath: string, relativeFilePath: string): Promise<string | undefined>;
export declare function hasDesignArtifacts(projectPath: string): boolean;
/**
 * 从文件路径推断产物类型。
 *
 * 匹配策略：
 * 1. 路径中包含 ARTIFACT_ALIASES 的 defaultName 关键词
 * 2. .soloforge/output/ 路径下的 .md 文件
 */
export declare function inferArtifactKindFromPath(relativeFilePath: string): ArtifactKind | undefined;
/**
 * L4 产物结构校验 — 对写入已知产物类型的文件检查内容完整性。
 *
 * 校验策略（强化版 — 防偷懒门禁）：
 * - 基础检测：verifyOutputAgainstSchema（缺失章节/表格/字段）
 * - 增强检测：scanArtifactForOmissions（空洞章节、占位符、空表格）
 * - 任何 hard_fail finding ≥ 1 → blocked（旧阈值：≥3 且 ≥2 section missing）
 * - 任何 warning finding → warning
 * - 无 finding → pass
 */
export declare function evaluateArtifactStructure(relativeFilePath: string, content: string, projectPath: string): {
    severity: "warning" | "blocked" | "pass";
    reason?: string;
};
//# sourceMappingURL=check_write.d.ts.map