import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; export declare const CRYSTAL_LOCKED = "CRYSTAL_LOCKED"; type CrystalToolResult = { isError?: boolean | undefined; content?: { type: string; text?: string; }[] | undefined; structuredContent?: Record | undefined; }; export declare function isCrystalLockedResult(result: CrystalToolResult): boolean; export declare function callCrystalTool(home: string, name: string, args: Record): Promise<{ content: { type: "text"; text: string; }[]; structuredContent: { code: string; }; isError: boolean; } | { isError?: boolean; content: { text: string; type: "text"; }[]; structuredContent?: never; }>; export declare function registerCrystalTools(server: McpServer, home: string, options?: { crystalMirrorStore?: import('./hook-queue.js').CrystalMirrorStoreFactory; }): void; export {};