import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import type { ServerContext } from '../context.js'; /** * `delete_note` — unlink a note from disk and purge it from the index. * The `confirm: true` literal is a Zod-level guard so the LLM can't call it * accidentally with a missing argument. * * When the delete removed inbound edges (`edgesRemoved > 0`), the response * wraps the plain delete result in a `{data, context: {next_actions}}` * envelope suggesting the caller rerun `rank_notes` with `minIncomingLinks: * 0` to surface freshly-orphaned notes. Bare callers that don't care can * ignore `context` — `data` has the same shape as the pre-envelope payload. */ export declare function registerDeleteNoteTool(server: McpServer, ctx: ServerContext): void;