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.

29 lines (28 loc) 1.3 kB
import { BaseHederaTransactionTool, BaseHederaQueryTool, BaseServiceBuilder } from 'hedera-agent-kit'; import { InscriberBuilder } from '../../builders/inscriber/inscriber-builder'; import { InscriberTransactionToolParams, InscriberQueryToolParams } from './inscriber-tool-params'; import { z } from 'zod'; /** * Base class for Inscriber transaction tools */ export declare abstract class BaseInscriberTransactionTool<T extends z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny> = z.ZodObject<z.ZodRawShape>> extends BaseHederaTransactionTool<T> { protected inscriberBuilder: InscriberBuilder; namespace: "inscriber"; constructor(params: InscriberTransactionToolParams); /** * Override to return the InscriberBuilder */ protected getServiceBuilder(): BaseServiceBuilder; } /** * Base class for Inscriber query tools */ export declare abstract class BaseInscriberQueryTool<T extends z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny> = z.ZodObject<z.ZodRawShape>> extends BaseHederaQueryTool<T> { protected inscriberBuilder: InscriberBuilder; namespace: "inscriber"; constructor(params: InscriberQueryToolParams); /** * Override to return the InscriberBuilder */ protected getServiceBuilder(): BaseServiceBuilder; }