import type { Hex } from "viem"; import { type OperationVisitor } from "./mapOperations.js"; import type { CreditAccountOperation } from "./types.js"; export interface LegacyApiOperation { operation: string; txHash: Hex; blockNum: number; [key: string]: unknown; } export interface LegacyMulticallOp { operation: string; [key: string]: unknown; } export interface LegacyVisitorParams { sessionId: string; } export declare function createLegacyVisitor(params: LegacyVisitorParams): OperationVisitor; export declare function toLegacyOperations(ops: CreditAccountOperation[], params: LegacyVisitorParams): LegacyApiOperation[];