UNPKG

@n8n/n8n-nodes-langchain

Version:
16 lines (15 loc) • 767 B
import type { IDataObject, IExecuteFunctions, IHttpRequestMethods, ILoadOptionsFunctions, RequestPath } from 'n8n-workflow'; type RequestParameters = { headers?: IDataObject; body?: IDataObject | string; qs?: IDataObject; returnFullResponse?: boolean; allowedDomains?: string; }; export declare function resourcePath(name: string): RequestPath; export declare function modelPath(this: IExecuteFunctions, model: string): RequestPath; export declare function fileSearchStorePath(this: IExecuteFunctions, name: string): RequestPath; export declare function apiRequest(this: IExecuteFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, endpoint: RequestPath | { url: string; }, parameters?: RequestParameters): Promise<any>; export {};