import { type PolicyResult } from "../../domain/policy/policy-result"; import type { RuntimeEffect } from "../../runtime/opencode/effects"; import type { RuntimeBeforeToolInput } from "./runtime-policy"; export interface WriteGuardToolPolicy { beforeTool(input: RuntimeBeforeToolInput): PolicyResult; } export declare function createWriteGuardToolPolicy(): WriteGuardToolPolicy;