/** * Boundary parse guard for `write_file`'s tool-result metadata. * * `StepResult.metadata` is an opaque `Record` at the core * level; the TUI must parse it before use (constitution: parse, don't cast). * The `FileWriteMetadata` type is owned by the producer (`src/tools/core.ts`) * and imported here type-only — Adapter→Infrastructure is the allowed direction * and the import is erased at runtime. */ import type { FileWriteMetadata } from '../../../../tools/core.js'; export declare function isFileWriteMetadata(u: unknown): u is FileWriteMetadata;