import type * as sfn from "@distilled.cloud/aws/sfn"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { StateMachine } from "./StateMachine.ts"; export interface ListExecutionsRequest extends Omit { } /** * Runtime binding for `states:ListExecutions`. * * Bind this operation to a {@link StateMachine} inside a function runtime * to list that machine's executions (optionally filtered by status) with * the state machine ARN injected automatically. Not supported by `EXPRESS` * state machines. * ### Polling Executions * **Example:** List running executions * ```typescript * const listExecutions = yield* StepFunctions.ListExecutions(machine); * * const { executions } = yield* listExecutions({ statusFilter: "RUNNING" }); * ``` * * @binding */ export interface ListExecutions extends Binding.Service Effect.Effect<(request?: ListExecutionsRequest) => Effect.Effect>> { } export declare const ListExecutions: ListExecutions; //# sourceMappingURL=ListExecutions.d.ts.map