import type { Delegation, RelayAuthorization, UnsignedDelegation } from "@toruslabs/ethereum-controllers"; import { type Hex } from "viem"; import type { Execution } from "../types/Delegation"; import type { RelayAuthorizationWire, RelayDelegationWire, RelayExecutionWire } from "./relayTypes"; export declare function executionsToWire(executions: Execution[]): RelayExecutionWire[]; export declare function unsignedDelegationToWire(delegation: UnsignedDelegation): RelayDelegationWire; export declare function signedDelegationToWire(delegation: Delegation): RelayDelegationWire; export declare function authorizationListToWire(authorizationList: RelayAuthorization[]): RelayAuthorizationWire[]; /** * Extract the signed EIP-7702 authorization list from a type-4 raw * transaction via viem {@link parseTransaction}. Used after * TransactionController signs locally so the Mimir wire payload matches * `signedTransaction`. */ export declare function authorizationListFromSignedSetCodeTx(signedTx: Hex): RelayAuthorizationWire[] | undefined;