import { UseMutationOptions } from '@tanstack/react-query'; import type { SalesforceExecution } from '../schemas/SalesforceExecution'; import type { SalesforceExecuteRequest } from '../schemas/SalesforceExecuteRequest'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ExecuteProjectScopedSalesforcePipelineMutationPathParams { org: string; project: string; } export interface ExecuteProjectScopedSalesforcePipelineMutationHeaderParams { 'Harness-Account'?: string; } export type ExecuteProjectScopedSalesforcePipelineRequestBody = SalesforceExecuteRequest; export type ExecuteProjectScopedSalesforcePipelineOkResponse = ResponseWithPagination; export type ExecuteProjectScopedSalesforcePipelineErrorResponse = unknown; export interface ExecuteProjectScopedSalesforcePipelineProps extends ExecuteProjectScopedSalesforcePipelineMutationPathParams, Omit, 'url'> { body: ExecuteProjectScopedSalesforcePipelineRequestBody; } export declare function executeProjectScopedSalesforcePipeline(props: ExecuteProjectScopedSalesforcePipelineProps): Promise; /** * Trigger a Salesforce pipeline execution */ export declare function useExecuteProjectScopedSalesforcePipelineMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;