import { BaseMapper, TMappedResponse } from '../mappers/base-mapper.abstract'; import { HttpClient, TWorkflowRunningStatus } from '../types'; export declare const OPERATION_NAME: { readonly customWorkflow: "customWorkflow"; readonly sendMessage: "sendMessage"; readonly syncConversation: "syncConversation"; readonly checkConnectionStatus: "checkConnectionStatus"; readonly sendConnectionRequest: "sendConnectionRequest"; readonly withdrawConnectionRequest: "withdrawConnectionRequest"; readonly retrievePendingRequests: "retrievePendingRequests"; readonly retrieveConnections: "retrieveConnections"; readonly removeConnection: "removeConnection"; readonly searchCompanies: "searchCompanies"; readonly searchPeople: "searchPeople"; readonly fetchPerson: "fetchPerson"; readonly fetchCompany: "fetchCompany"; readonly fetchPost: "fetchPost"; readonly reactToPost: "reactToPost"; readonly commentOnPost: "commentOnPost"; readonly createPost: "createPost"; readonly retrieveSSI: "retrieveSSI"; readonly retrievePerformance: "retrievePerformance"; readonly nvSendMessage: "nvSendMessage"; readonly nvSyncConversation: "nvSyncConversation"; readonly nvSearchCompanies: "nvSearchCompanies"; readonly nvSearchPeople: "nvSearchPeople"; readonly nvFetchCompany: "nvFetchCompany"; readonly nvFetchPerson: "nvFetchPerson"; }; export type TOperationName = (typeof OPERATION_NAME)[keyof typeof OPERATION_NAME]; export interface WaitForCompletionOptions { pollInterval?: number; timeout?: number; } export declare abstract class Operation { private readonly httpClient; abstract readonly operationName: TOperationName; protected abstract readonly mapper: BaseMapper; constructor(httpClient: HttpClient); execute(params: TParams): Promise; result(workflowId: string, options?: WaitForCompletionOptions): Promise>; status(workflowId: string): Promise>; cancel(workflowId: string): Promise; private getWorkflowResult; private getCompletion; } //# sourceMappingURL=operation.d.ts.map