@hashgraphonline/conversational-agent
Version:
Hashgraph Online conversational AI agent implementing HCS-10 communication, HCS-2 registries, and content inscription on Hedera. https://hol.org
14 lines (12 loc) • 632 B
TypeScript
import { EntityFormat, FormatConverter, ConversionContext } from '../types';
/**
* Generic converter that normalizes various string entity references (cdn urls, content-ref, raw topic id)
* into canonical HRL. It declares source ANY -> HRL and internally short-circuits if unsupported.
*/
export declare class StringNormalizationConverter implements FormatConverter<string, string> {
sourceFormat: EntityFormat;
targetFormat: EntityFormat;
private static standardCache;
canConvert(source: string, _context: ConversionContext): boolean;
convert(source: string, context: ConversionContext): Promise<string>;
}