UNPKG

@promptbook/google

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

23 lines (22 loc) 800 B
import type { AutomaticTranslator } from './AutomaticTranslator'; import type { TranslatorOptions } from './TranslatorOptions'; /** * Options for configuring the Lindat automatic translator, including API URL and language settings. */ type LindatAutomaticTranslatorOptions = TranslatorOptions & { /** * Optional URL of the Lindat translation API endpoint. */ readonly apiUrl?: URL; }; /** * Automatic translator implementation using the Lindat translation API. * * @private still in development [🏳️] */ export declare class LindatAutomaticTranslator implements AutomaticTranslator { protected readonly options: LindatAutomaticTranslatorOptions; constructor(options: LindatAutomaticTranslatorOptions); translate(message: string): Promise<string>; } export {};