import type { ITaskService, ITaskServiceCreatePluginParams, ITaskServiceTask } from "../../api/plugins/index.js"; import { TaskServicePlugin } from "../../api/plugins/index.js"; import type { DescribeExecutionCommandOutput } from "@webiny/aws-sdk/client-sfn/index.js"; import type { ITask } from "../../api/types.js"; export type IStepFunctionServiceFetchResult = DescribeExecutionCommandOutput; export interface IDetailWrapper { detail: T; } export declare class StepFunctionService implements ITaskService { private readonly getTenant; private readonly trigger; private readonly get; constructor(params: ITaskServiceCreatePluginParams); send(task: ITaskServiceTask, delay: number): Promise<{ name: string; executionArn: string | undefined; startDate: Date | undefined; $metadata: import("@smithy/types").ResponseMetadata; } | null>; fetch(task: ITask): Promise; } export declare class StepFunctionServicePlugin extends TaskServicePlugin { name: string; createService(params: ITaskServiceCreatePluginParams): StepFunctionService; }