import { HistoricalStateRegenInitModules, HistoricalStateRegenModules, HistoricalStateWorkerApi } from "./types.js";
/**
 * HistoricalStateRegen limits the damage from recreating historical states
 * by running regen in a separate worker thread.
 */
export declare class HistoricalStateRegen implements HistoricalStateWorkerApi {
    private readonly api;
    private readonly logger;
    constructor(modules: HistoricalStateRegenModules);
    static init(modules: HistoricalStateRegenInitModules): Promise<HistoricalStateRegen>;
    scrapeMetrics(): Promise<string>;
    close(): Promise<void>;
    getHistoricalState(slot: number): Promise<Uint8Array>;
}
//# sourceMappingURL=historicalStateRegen.d.ts.map