import { Metrics } from "../../metrics/metrics.js";
import { JobItemQueue } from "../../util/queue/index.js";
import type { BeaconChain } from "../chain.js";
import { BlockProcessOpts } from "../options.js";
import { BlockInput, ImportBlockOpts } from "./types.js";
export { type ImportBlockOpts, AttestationImportOpt } from "./types.js";
/**
 * BlockProcessor processes block jobs in a queued fashion, one after the other.
 */
export declare class BlockProcessor {
    readonly jobQueue: JobItemQueue<[BlockInput[], ImportBlockOpts], void>;
    constructor(chain: BeaconChain, metrics: Metrics | null, opts: BlockProcessOpts, signal: AbortSignal);
    processBlocksJob(job: BlockInput[], opts?: ImportBlockOpts): Promise<void>;
}
/**
 * Validate and process a block
 *
 * The only effects of running this are:
 * - forkChoice update, in the case of a valid block
 * - various events emitted: checkpoint, forkChoice:*, head, block, error:block
 * - (state cache update, from state regeneration)
 *
 * All other effects are provided by downstream event handlers
 */
export declare function processBlocks(this: BeaconChain, blocks: BlockInput[], opts: BlockProcessOpts & ImportBlockOpts): Promise<void>;
//# sourceMappingURL=index.d.ts.map