UNPKG

@hashgraphonline/conversational-agent

Version:

Hashgraph Online conversational AI agent implementing HCS-10 communication, HCS-2 registries, and content inscription on Hedera. https://hol.org

102 lines (101 loc) 2.69 kB
/** * Mock external tool wrapper functionality * These are placeholders to satisfy import statements in test scripts */ export interface ExternalToolWrapper<T> { name: string; description: string; schema: T; } export declare function wrapExternalToolWithRenderConfig<T>(tool: { name: string; description: string; schema: T; }, config: { ui?: { label?: string; description?: string; }; fieldConfigs?: Record<string, unknown>; }): ExternalToolWrapper<T>; export declare const renderConfigs: { text: (label: string, placeholder?: string, help?: string) => { type: string; label: string; placeholder: string | undefined; help: string | undefined; }; number: (label: string, min?: number, max?: number, help?: string) => { type: string; label: string; min: number | undefined; max: number | undefined; help: string | undefined; }; accountId: (label: string) => { type: string; label: string; placeholder: string; }; checkbox: (label: string, help?: string) => { type: string; label: string; help: string | undefined; }; currency: (label: string, currency: string, min?: number, max?: number) => { type: string; label: string; currency: string; min: number | undefined; max: number | undefined; }; tokenId: (label: string) => { type: string; label: string; placeholder: string; }; select: (label: string, options: Array<{ value: string; label: string; }>) => { type: string; label: string; options: { value: string; label: string; }[]; }; }; export declare const hederaToolConfigs: { hbarTransfer: () => { ui: { label: string; description: string; }; fieldConfigs: { fromAccountId: { type: string; label: string; placeholder: string; }; toAccountId: { type: string; label: string; placeholder: string; }; amount: { type: string; label: string; currency: string; min: number | undefined; max: number | undefined; }; memo: { type: string; label: string; placeholder: string | undefined; help: string | undefined; }; }; }; };