/** * Guard hook that prevents Pattern agent from writing non-.md files * or writing outside the .weave/ directory. */ export interface PatternWriteCheckResult { allowed: boolean; reason?: string; } /** * Check whether a write/edit operation should be allowed for the given agent. * Only blocks writes from the "pattern" agent to non-.md files or files outside .weave/. */ export declare function checkPatternWrite(agentName: string, toolName: string, filePath: string): PatternWriteCheckResult;