@n8n/n8n-nodes-langchain
Version:

7 lines (6 loc) • 337 B
TypeScript
import type { IBinaryData, IExecuteFunctions } from 'n8n-workflow';
export declare function getBinaryDataFile(ctx: IExecuteFunctions, itemIdx: number, binaryPropertyData: string | IBinaryData): Promise<{
filename: string | undefined;
contentType: string;
fileContent: import("stream").Readable | Buffer<ArrayBufferLike>;
}>;