import { Node, NodeAPI, NodeContext, NodeMessage } from 'node-red'; import { Context } from 'mustache'; export declare function setMessageProperty(RED: NodeAPI, path: string | undefined, defaultPath: string): (msg: NodeMessage, value: unknown) => void; export declare class MustacheNodeContext extends Context { private msg; private nodeContext; private escapeStrings; private cachedContextTokens; constructor(msg: NodeMessage, nodeContext: NodeContext, parent: Context | undefined, escapeStrings: boolean, cachedContextTokens: Record); lookup(name: string): any; push(view: NodeMessage): Context; } export declare function runMustache(RED: NodeAPI, template: string, node: Node, msg: NodeMessage): Promise; export declare function runMustache(RED: NodeAPI, template: object, node: Node, msg: NodeMessage): Promise; export declare function extractEUI(RED: NodeAPI, value: string | undefined, euiType: 'default' | 'msg' | 'flow' | 'global' | 'eui', defaultMessageProperty: string, node: Node, showWarning: () => boolean): (msg: NodeMessage) => Promise;