import { BeaconChain } from "../chain.js";
import { IBlockInput } from "./blockInput/index.js";
/**
 * Persists block input data to DB. This operation must be eventually completed if a block is imported to the fork-choice.
 * Else the node will be in an inconsistent state that can lead to being stuck.
 *
 * This operation may be performed before, during or after importing to the fork-choice. As long as errors
 * are handled properly for eventual consistency.
 */
export declare function writeBlockInputToDb(this: BeaconChain, blocksInputs: IBlockInput[]): Promise<void>;
/**
 * Prunes eagerly persisted block inputs only if not known to the fork-choice
 */
export declare function removeEagerlyPersistedBlockInputs(this: BeaconChain, blockInputs: IBlockInput[]): Promise<void>;
//# sourceMappingURL=writeBlockInputToDb.d.ts.map