/** * FlairWrite — pipeline-mode node that writes a memory into Flair. * * Complement to FlairSearch (read-only AI Tool) and FlairChatMemory * (LangChain BaseMemory adapter). FlairWrite is a regular Main-input / * Main-output node intended for capture-and-archive workflows: take an * incoming item (a TPS mail, a webhook payload, a parsed document) and * persist its content as a Flair memory with operator-chosen tags, * subject, and durability. * * Why a separate node from FlairSearch: * - FlairSearch is wired into the AI Tool socket; it's read-only by * design (write-as-LLM-tool needs guardrails we haven't designed * yet — content sanitization, rate limiting, audit trail). * - FlairWrite is operator-driven. Side effects are intentional and * scoped to the workflow author's choices, not the LLM's. * - Splitting keeps the AI-Tool-only contract on FlairSearch clean * and lets each node evolve independently. * * The dual-purpose alternative (one node with both AI Tool and Main * sockets) is possible in n8n but harder to reason about — the same * configuration would surface differently depending on which socket * the user wires it to. Two narrow nodes are easier to discover and * easier to dogfood. */ import { type IExecuteFunctions, type INodeExecutionData, type INodeType, type INodeTypeDescription } from "n8n-workflow"; export declare class FlairWrite implements INodeType { description: INodeTypeDescription; execute(this: IExecuteFunctions): Promise; }