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

18 lines (17 loc) 577 B
import { HederaAgentKit } from 'hedera-agent-kit'; export type ByteBuildHandler = (ctx: { hederaKit: HederaAgentKit; request: Record<string, unknown>; }) => Promise<{ transactionBytes: string; }>; declare class ByteBuildRegistryImpl { private handlers; register(op: string, handler: ByteBuildHandler): void; has(op: string): boolean; build(op: string, hederaKit: HederaAgentKit, request: Record<string, unknown>): Promise<{ transactionBytes: string; } | null>; } export declare const ByteBuildRegistry: ByteBuildRegistryImpl; export {};