@hashgraphonline/conversational-agent
Version:
Hashgraph Online conversational AI agent implementing HCS-10 communication, HCS-2 registries, and content inscription on Hedera. https://hol.org
42 lines (40 loc) • 1.3 kB
TypeScript
import { Bee } from '@ethersphere/bee-js';
import { z } from 'zod';
import { BaseHederaQueryTool, GenericPluginContext, HederaAgentKit } from 'hedera-agent-kit';
import { ToolResponse } from '../utils';
import { SwarmConfig } from '../config';
declare const DownloadFilesSchema: z.ZodObject<{
reference: z.ZodString;
filePath: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
reference: string;
filePath?: string | undefined;
}, {
reference: string;
filePath?: string | undefined;
}>;
export declare class DownloadFilesTool extends BaseHederaQueryTool<typeof DownloadFilesSchema> {
name: string;
description: string;
namespace: string;
specificInputSchema: z.ZodObject<{
reference: z.ZodString;
filePath: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
reference: string;
filePath?: string | undefined;
}, {
reference: string;
filePath?: string | undefined;
}>;
bee: Bee;
config: SwarmConfig;
constructor(params: {
hederaKit: HederaAgentKit;
config: SwarmConfig;
logger?: GenericPluginContext['logger'];
bee: Bee;
});
protected executeQuery(input: z.infer<typeof DownloadFilesSchema>): Promise<ToolResponse | string>;
}
export {};