UNPKG

@hashgraphonline/hedera-agent-kit

Version:

Build LLM-powered applications that interact with the Hedera Network. Create conversational agents that can understand user requests in natural language and execute Hedera transactions, or build backend systems that leverage AI for on-chain operations.

46 lines (44 loc) 1.61 kB
import { z } from 'zod'; import { BaseHederaTransactionTool, BaseHederaTransactionToolParams } from '../common/base-hedera-transaction-tool'; import { BaseServiceBuilder } from '../../../builders/base-service-builder'; declare const AppendFileZodSchemaCore: z.ZodObject<{ fileId: z.ZodString; contents: z.ZodString; maxChunks: z.ZodOptional<z.ZodNumber>; chunkSize: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { contents: string; fileId: string; maxChunks?: number | undefined; chunkSize?: number | undefined; }, { contents: string; fileId: string; maxChunks?: number | undefined; chunkSize?: number | undefined; }>; export declare class HederaAppendFileTool extends BaseHederaTransactionTool<typeof AppendFileZodSchemaCore> { name: string; description: string; specificInputSchema: z.ZodObject<{ fileId: z.ZodString; contents: z.ZodString; maxChunks: z.ZodOptional<z.ZodNumber>; chunkSize: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { contents: string; fileId: string; maxChunks?: number | undefined; chunkSize?: number | undefined; }, { contents: string; fileId: string; maxChunks?: number | undefined; chunkSize?: number | undefined; }>; namespace: string; constructor(params: BaseHederaTransactionToolParams); protected getServiceBuilder(): BaseServiceBuilder; protected callBuilderMethod(builder: BaseServiceBuilder, specificArgs: z.infer<typeof AppendFileZodSchemaCore>): Promise<void>; } export {};