import ESTree from 'estree'; import BaseJSNode from '../nodes/BaseJSNode.js'; import Visitor from '../visitor.js'; export declare const namedFunction: (name: string, fn: Function) => Function; export interface JSNode extends BaseJSNode { run(): ReturnType; } export interface JSNodeConstructor { new (node: ESTree.Node, visitor: Visitor): JSNode; } export declare class JinterError extends Error { info?: any; constructor(message: string, info?: any); }