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.

46 lines (45 loc) 1.73 kB
import { z } from 'zod'; import { BaseInscriberQueryTool } from './base-inscriber-tools'; import { CallbackManagerForToolRun } from '@langchain/core/callbacks/manager'; /** * Schema for inscribing from file */ declare const inscribeFromFileSchema: z.ZodObject<{ filePath: z.ZodString; mode: z.ZodOptional<z.ZodEnum<["file", "hashinal"]>>; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; chunkSize: z.ZodOptional<z.ZodNumber>; waitForConfirmation: z.ZodOptional<z.ZodBoolean>; timeoutMs: z.ZodOptional<z.ZodNumber>; apiKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { filePath: string; tags?: string[] | undefined; metadata?: Record<string, unknown> | undefined; mode?: "file" | "hashinal" | undefined; chunkSize?: number | undefined; waitForConfirmation?: boolean | undefined; timeoutMs?: number | undefined; apiKey?: string | undefined; }, { filePath: string; tags?: string[] | undefined; metadata?: Record<string, unknown> | undefined; mode?: "file" | "hashinal" | undefined; chunkSize?: number | undefined; waitForConfirmation?: boolean | undefined; timeoutMs?: number | undefined; apiKey?: string | undefined; }>; /** * Tool for inscribing content from file */ export declare class InscribeFromFileTool extends BaseInscriberQueryTool<typeof inscribeFromFileSchema> { name: string; description: string; get specificInputSchema(): typeof inscribeFromFileSchema; protected executeQuery(params: z.infer<typeof inscribeFromFileSchema>, _runManager?: CallbackManagerForToolRun): Promise<unknown>; private getMimeType; } export {};