import { ApiGatewayLambdaHttpProxyResponse, InvokeApiFunction } from './types'; /** * Fetch a workflow from the Cumulus API * * @param {Object} params - params * @param {string} params.prefix - the prefix configured for the stack * @param {string} params.workflowName * @param {Function} params.callback - async function to invoke the api lambda * that takes a prefix / user payload. Defaults * to cumulusApiClient.invokeApi * @returns {Promise} - promise that resolves to the output * of the API lambda */ export declare const getWorkflow: (params: { prefix: string; workflowName: string; callback?: InvokeApiFunction; }) => Promise; /** * Fetch a list of workflows from the Cumulus API * * @param {Object} params - params * @param {string} params.prefix - the prefix configured for the stack * @returns {Promise} - the list of workflows fetched by the API */ export declare const getWorkflows: (params: { prefix: string; query?: { [key: string]: string | string[] | undefined; fields?: string[] | undefined; } | undefined; callback?: InvokeApiFunction | undefined; }) => Promise; //# sourceMappingURL=workflows.d.ts.map