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>;
