import type { ToolResult } from '../../types.js'; /** 归一化斜杠后的插件自资产路径判定(路径含该形态段即命中,与项目根前缀无关)。 */ export declare function isPluginSelfPath(absPath: string): boolean; /** 写入口统一守卫:命中插件自资产返回结构化拒绝,否则 null 放行。 */ export declare function pluginSelfPathGuard(absPath: string): ToolResult | null;