import type { Hex } from 'viem'; import type { EvmChainReference } from '../../chains/types.js'; import type { BundlerUserOperation } from '../../clients/bundler/port.js'; import type { OwnerSignerSelection } from '../../signing/types.js'; import type { PreparedUserOperation, SignedUserOperation, UserOperationWorkflowContext } from './types.js'; interface ReconstructPreparedInput { readonly chain: EvmChainReference; readonly operation: BundlerUserOperation; readonly signers?: OwnerSignerSelection; } interface ReconstructSignedInput extends ReconstructPreparedInput { readonly signature: Hex; } /** * Rebuilds the internal PreparedUserOperation from a public prepared shape that * did not originate from this SDK instance (e.g. externally rebuilt, mutated to * add a paymaster, or replayed across instances). The signing plan is derived * from the account's static configuration, so this performs no RPC reads. */ export declare function reconstructPreparedUserOperation(context: UserOperationWorkflowContext, input: ReconstructPreparedInput): Promise>; /** * Rebuilds the internal SignedUserOperation from a public signed shape that did * not originate from this SDK instance, so submission works with a rebuilt or * externally supplied signed UserOperation. Performs no RPC reads. */ export declare function reconstructSignedUserOperation(context: UserOperationWorkflowContext, input: ReconstructSignedInput): Promise>; export {}; //# sourceMappingURL=reconstruct.d.ts.map