@brave/n8n-nodes-brave-search
Version:
A n8n node for the Brave Search API
9 lines (8 loc) • 581 B
TypeScript
import { NodeParameterValue, type IExecuteFunctions, type INodeExecutionData, type INodeType, type INodeTypeDescription } from 'n8n-workflow';
import { type BraveSearchOperation } from './operations';
export declare class BraveSearch implements INodeType {
description: INodeTypeDescription;
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
static buildParams(ctx: IExecuteFunctions, operation: BraveSearchOperation, index: number): Record<string, NodeParameterValue>;
static performRequest(ctx: IExecuteFunctions, index: number): Promise<any>;
}