import { BeaconConfig } from "@lodestar/config";
import { BeaconStateAllForks, CachedBeaconStateAllForks, PubkeyCache } from "@lodestar/state-transition";
import { IBeaconDb } from "../../../db/index.js";
import { HistoricalStateRegenMetrics } from "./metrics.js";
/**
 * Populate a PubkeyCache with any new entries based on a BeaconState
 */
export declare function syncPubkeyCache(state: BeaconStateAllForks, pubkeyCache: PubkeyCache): void;
/**
 * Get the nearest BeaconState at or before a slot
 */
export declare function getNearestState(slot: number, config: BeaconConfig, db: IBeaconDb, pubkeyCache: PubkeyCache): Promise<CachedBeaconStateAllForks>;
/**
 * Get and regenerate a historical state
 */
export declare function getHistoricalState(slot: number, config: BeaconConfig, db: IBeaconDb, pubkeyCache: PubkeyCache, metrics?: HistoricalStateRegenMetrics): Promise<Uint8Array>;
//# sourceMappingURL=getHistoricalState.d.ts.map