n8n
Version:
n8n Workflow Automation Tool
10 lines (9 loc) • 426 B
TypeScript
import type { Thread } from 'chat';
import type { BridgeMessageContextParams, BridgeStatusHandle } from '../agent-chat-integration';
export interface TypingIndicatorOptions {
logger: BridgeMessageContextParams['logger'];
agentId: string;
platform: string;
refreshMs: number;
}
export declare function startTypingIndicator(thread: Thread<unknown, unknown>, options: TypingIndicatorOptions): BridgeStatusHandle;