export declare function jsonResult(value: unknown): { content: { type: "text"; text: string; }[]; structuredContent: Record; }; export declare function errorMessage(error: unknown): string; export declare function run(operation: () => Promise): Promise<{ content: { type: "text"; text: string; }[]; structuredContent: Record; } | { content: { type: "text"; text: string; }[]; isError: boolean; }>;