UNPKG

@hashgraphonline/standards-agent-kit

Version:

A modular SDK for building on-chain autonomous agents using Hashgraph Online Standards, including HCS-10 for agent discovery and communication. https://hol.org

97 lines (96 loc) 3.31 kB
import { z } from 'zod'; import { BaseHCS6QueryTool } from './base-hcs6-tools'; import { HCS6QueryToolParams } from './hcs6-tool-params'; import { CallbackManagerForToolRun } from '@langchain/core/callbacks/manager'; /** * Schema for updating a dynamic hashinal */ declare const UpdateDynamicHashinalSchema: z.ZodObject<{ registryTopicId: z.ZodString; metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>; data: z.ZodOptional<z.ZodObject<{ base64: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; mimeType: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; }, { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; }>>; memo: z.ZodOptional<z.ZodString>; submitKey: z.ZodString; }, "strip", z.ZodTypeAny, { registryTopicId: string; metadata: Record<string, unknown>; submitKey: string; memo?: string | undefined; data?: { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; } | undefined; }, { registryTopicId: string; metadata: Record<string, unknown>; submitKey: string; memo?: string | undefined; data?: { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; } | undefined; }>; export type UpdateDynamicHashinalInput = z.infer<typeof UpdateDynamicHashinalSchema>; /** * Tool for updating dynamic hashinals */ export declare class UpdateDynamicHashinalTool extends BaseHCS6QueryTool<typeof UpdateDynamicHashinalSchema> { name: string; description: string; get specificInputSchema(): z.ZodObject<{ registryTopicId: z.ZodString; metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>; data: z.ZodOptional<z.ZodObject<{ base64: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; mimeType: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; }, { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; }>>; memo: z.ZodOptional<z.ZodString>; submitKey: z.ZodString; }, "strip", z.ZodTypeAny, { registryTopicId: string; metadata: Record<string, unknown>; submitKey: string; memo?: string | undefined; data?: { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; } | undefined; }, { registryTopicId: string; metadata: Record<string, unknown>; submitKey: string; memo?: string | undefined; data?: { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; } | undefined; }>; constructor(params: HCS6QueryToolParams); protected executeQuery(params: UpdateDynamicHashinalInput, _runManager?: CallbackManagerForToolRun): Promise<unknown>; } export {};