import { IExecuteFunctions, IHttpRequestMethods } from 'n8n-workflow'; import { INodeProperties, IDisplayOptions } from 'n8n-workflow'; import { TGroup } from './AvailableGroups'; import { TAvailableAction } from './AvailableActions'; export declare abstract class LinkedApiOperation { protected abstract fields: INodeProperties[]; protected get defaultFields(): INodeProperties[]; abstract operationName: TAvailableAction; abstract resource: TGroup; protected itemIndex: number; get operationFields(): INodeProperties[]; execute(context: IExecuteFunctions, itemIndex: number): Promise; protected get show(): IDisplayOptions['show']; protected stringParameter(context: IExecuteFunctions, parameterName: string): string; protected booleanParameter(context: IExecuteFunctions, parameterName: string): boolean; protected numberParameter(context: IExecuteFunctions, parameterName: string): number; protected abstract url(context: IExecuteFunctions): string; protected abstract method: IHttpRequestMethods; protected abstract requestBody(context: IExecuteFunctions): Record | undefined; protected qs: (_: IExecuteFunctions) => Record | undefined; protected headers: Record; } export declare abstract class LinkedApiWebhookOperation extends LinkedApiOperation { abstract body(context: IExecuteFunctions): Record; url: (_: IExecuteFunctions) => string; method: "POST"; headers: { 'result-retrieval': string; }; protected get defaultFields(): INodeProperties[]; requestBody(context: IExecuteFunctions): Record; } export declare abstract class StandardLinkedApiOperation extends LinkedApiWebhookOperation { resource: "standard"; } export declare abstract class SalesNavigatorLinkedApiOperation extends LinkedApiWebhookOperation { resource: "salesNavigator"; } export declare abstract class OtherLinkedApiOperation extends LinkedApiWebhookOperation { resource: "other"; }