/**
 * @fileoverview obsidian_execute_command — execute an Obsidian command-palette
 * command by ID. Gated by `OBSIDIAN_ENABLE_COMMANDS=true` because command
 * behaviour is opaque (some commands are destructive) and consumers must opt in.
 * @module mcp-server/tools/definitions/obsidian-execute-command.tool
 */
import { z } from '@cyanheads/mcp-ts-core';
import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors';
export declare const obsidianExecuteCommand: import("@cyanheads/mcp-ts-core").ToolDefinition<z.ZodObject<{
    commandId: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    commandId: z.ZodString;
    executed: z.ZodBoolean;
}, z.core.$strip>, readonly [{
    readonly reason: "command_unknown";
    readonly code: JsonRpcErrorCode.NotFound;
    readonly when: "The supplied `commandId` is not registered in Obsidian. Use `obsidian_list_commands` to discover valid IDs.";
    readonly recovery: "Call obsidian_list_commands to discover the registered command IDs.";
}], undefined>;
//# sourceMappingURL=obsidian-execute-command.tool.d.ts.map