UNPKG

@n8n/n8n-nodes-langchain

Version:

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

21 lines (20 loc) 1.01 kB
import type { AuthenticationChatOption, LoadPreviousSessionChatOption } from './types'; export declare function getSanitizedInitialMessages(initialMessages: string): string[]; export declare function getSanitizedI18nConfig(config: Record<string, string>): Record<string, string>; export declare function getSanitizedCustomCss(customCss: string): string; export declare function createPage({ instanceId, webhookUrl, showWelcomeScreen, loadPreviousSession, i18n: { en }, initialMessages, authentication, allowFileUploads, allowedFilesMimeTypes, customCss, enableStreaming, }: { instanceId: string; webhookUrl?: string; showWelcomeScreen?: boolean; loadPreviousSession?: LoadPreviousSessionChatOption; i18n: { en: Record<string, string>; }; initialMessages: string; mode: 'test' | 'production'; authentication: AuthenticationChatOption; allowFileUploads?: boolean; allowedFilesMimeTypes?: string; customCss?: string; enableStreaming?: boolean; }): string;