/// import { ICommonNode } from '../../lib/Commons/ICommonNode'; import AConnector from '../../lib/Connector/AConnector'; import SpyInstance = jest.SpyInstance; import CurlSender from '../../lib/Transport/Curl/CurlSender'; export interface ICurlMock { body: Record; code: number; http: string; headers: { [key: string]: string; }; httpReplacement?: { query?: Record; path?: Record; }; } export interface IDtoData { headers: { [key: string]: string; }; data: Record; replacement?: { data?: Record; }; } export interface ILightNode { name: string; id: string; } export declare class TestNode implements ILightNode { id: string; name: string; type: string; previous: ILightNode[]; followers: ILightNode[]; constructor(id: string, name: string, type: string); toWorkerFollowerHeader(): { id: string; name: string; }[]; reduceFollowersByHeader(...forceTargetQueues: string[]): ILightNode[]; } export declare function walkRecursive(body: any, keys: string[], value: string): any; export declare function mockCurl(file: string, sender: CurlSender, _prefix?: string, _index?: number): SpyInstance | undefined; export declare function mockNodeCurl(node: ICommonNode | AConnector, file: string, sender: CurlSender, _prefix?: string, _index?: number, _forceMock?: boolean, _exclude?: string[]): SpyInstance | undefined;