import { CreditAccountOperation } from "./types.js"; import { OperationVisitor } from "./mapOperations.js"; import { Hex } from "viem"; //#region src/history/toLegacyOperation.d.ts 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[]; //#endregion