import { BuilderIndex } from "@lodestar/types"; import { CachedBeaconStateGloas } from "../types.js"; /** * Block-scoped pubkey -> index map and ascending reuse candidates for `state.builders`, built in one pass. * Only valid while builder pubkeys change exclusively via `addBuilderToRegistry()` and no builder becomes * newly reusable (candidates are re-checked lazily, never added). Do not use across blocks/slots. */ export declare class IndexedBuilderState { readonly state: CachedBeaconStateGloas; private readonly currentEpoch; private readonly indexByPubkey; private readonly reusableIndexCandidates; private candidateCursor; constructor(state: CachedBeaconStateGloas); findBuilderIndexByPubkey(pubkey: Uint8Array): BuilderIndex | null; addBuilderToRegistry(pubkey: Uint8Array, version: number, executionAddress: Uint8Array, amount: number): void; private findReusableBuilderIndex; } //# sourceMappingURL=indexedBuilderState.d.ts.map