UNPKG

anylang

Version:

A translator's kit that uses the free APIs of Google Translate, Yandex, Bing, ChatGPT, and other LLMs

8 lines (7 loc) 368 B
export declare const encodeForBatch: (textList: string[]) => string[]; export declare const parseXMLResponse: (text: string) => string | null; export declare function deepExploreArray(obj: unknown, depth: number): unknown; /** * Visit each item in array recursively */ export declare const visitArrayItems: (arr: unknown[], visitor: (obj: unknown) => void) => void;