import { ExecutionAction, LiFiStepExtended, RouteExtended } from "@lifi/sdk"; import { ReactNode } from "react"; //#region src/components/StepActions/executionRows.d.ts /** * A row in an execution list: either a completed/failed action with an explorer * link, or the recipient wallet row appended when a route has a `toAddress`. */ type ExecutionRow = { kind: "action"; step: LiFiStepExtended; action: ExecutionAction; href: string; } | { kind: "wallet"; toAddress: string; toChainId: number; }; /** * The rows to display for a route: every `DONE`/`FAILED` action that has a * transaction link, plus a wallet row when `toAddress` is set. Shared by the * static step lists and the animated checklist. */ declare function useExecutionRows(route: RouteExtended, toAddress?: string): ExecutionRow[]; //#endregion export { ExecutionRow, useExecutionRows }; //# sourceMappingURL=executionRows.d.ts.map