import type { SimulationData, TransactionMeta } from '../types.js'; export declare const RESIMULATE_PARAMS: readonly ['to', 'value', 'data']; export declare const BLOCKAID_RESULT_TYPE_MALICIOUS = "Malicious"; export declare const VALUE_COMPARISON_PERCENT_THRESHOLD = 5; export declare const BLOCK_TIME_ADDITIONAL_SECONDS = 60; export declare const RESIMULATE_INTERVAL_MS = 3000; export type ResimulateResponse = { blockTime?: number; resimulate: boolean; }; export type ResimulateHelperOptions = { getTransactions: () => TransactionMeta[]; onTransactionsUpdate: (listener: () => void) => void; simulateTransaction: (transactionMeta: TransactionMeta) => Promise; }; export declare class ResimulateHelper { #private; constructor({ getTransactions, simulateTransaction, onTransactionsUpdate, }: ResimulateHelperOptions); } /** * Determine if a transaction should be resimulated. * * @param originalTransactionMeta - The original transaction metadata. * @param newTransactionMeta - The new transaction metadata. * @returns Whether the transaction should be resimulated. */ export declare function shouldResimulate(originalTransactionMeta: TransactionMeta, newTransactionMeta: TransactionMeta): ResimulateResponse; /** * Determine if the simulation data has changed. * * @param originalSimulationData - The original simulation data. * @param newSimulationData - The new simulation data. * @returns Whether the simulation data has changed. */ export declare function hasSimulationDataChanged(originalSimulationData: SimulationData, newSimulationData: SimulationData): boolean; //# sourceMappingURL=ResimulateHelper.d.ts.map