UNPKG

@n8n/n8n-nodes-langchain

Version:

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

19 lines (18 loc) 1.36 kB
import type { IDataObject, IExecuteFunctions } from 'n8n-workflow'; export declare function getFilenameFromMimeType(mimeType: string | undefined, baseName: string, fallbackExtension: string): string; export declare function downloadFile(this: IExecuteFunctions, url: string, fallbackMimeType?: string, qs?: IDataObject): Promise<{ fileContent: Buffer<ArrayBuffer>; mimeType: string; }>; export declare function uploadFile(this: IExecuteFunctions, fileContent: Buffer, mimeType: string): Promise<{ fileUri: string; mimeType: string; }>; export declare function transferFile(this: IExecuteFunctions, i: number, downloadUrl?: string, fallbackMimeType?: string, qs?: IDataObject): Promise<{ fileUri: string; mimeType: string; }>; export declare function createFileSearchStore(this: IExecuteFunctions, displayName: string): Promise<IDataObject>; export declare function uploadToFileSearchStore(this: IExecuteFunctions, i: number, fileSearchStoreName: string, displayName: string, downloadUrl?: string, fallbackMimeType?: string, qs?: IDataObject): Promise<IDataObject | undefined>; export declare function listFileSearchStores(this: IExecuteFunctions, pageSize?: number, pageToken?: string): Promise<IDataObject>; export declare function deleteFileSearchStore(this: IExecuteFunctions, name: string, force?: boolean): Promise<IDataObject>;