UNPKG

@n8n/n8n-nodes-langchain

Version:
7 lines (6 loc) 630 B
import type { IUser, IWebhookFunctions } from 'n8n-workflow'; import type { ChatFrameIdentity, ChatShellSession } from './types'; export declare function validateAuth(context: IWebhookFunctions): Promise<IUser | undefined>; export declare function establishChatSessionIdentity(context: IWebhookFunctions, resourceUrl: string): Promise<(ChatFrameIdentity & ChatShellSession) | null>; export declare function handleChatTokenRefresh(context: IWebhookFunctions, resourceUrl: string): Promise<void>; export declare function resolveInnerFrameIdentity(context: IWebhookFunctions, resourceUrl: string): Promise<ChatFrameIdentity | null>;