import { Db } from "@lodestar/db";
import { ForkAll } from "@lodestar/params";
import { Root, SSZTypesFor, SignedBeaconBlock, Slot } from "@lodestar/types";
export declare const rootIndexBucketId: "allForks_stateArchive" | "allForks_block" | "allForks_blockArchive" | "index_blockArchiveParentRootIndex" | "index_blockArchiveRootIndex" | "index_mainChain" | "index_chainInfo" | "phase0_eth1Data" | "index_depositDataRoot" | "phase0_depositData" | "phase0_exit" | "phase0_proposerSlashing" | "allForks_attesterSlashing" | "capella_blsToExecutionChange" | "allForks_checkpointState" | "phase0_depositEvent" | "index_stateArchiveRootIndex" | "deneb_blobSidecars" | "deneb_blobSidecarsArchive" | "phase0_preGenesisState" | "phase0_preGenesisStateLastProcessedBlock" | "backfilled_ranges" | "lightClient_syncCommitteeWitness" | "lightClient_syncCommittee" | "lightClient_checkpointHeader" | "lightClient_bestLightClientUpdate" | "fulu_dataColumnSidecars" | "fulu_dataColumnSidecarsArchive";
export declare const parentRootIndexBucketId: "allForks_stateArchive" | "allForks_block" | "allForks_blockArchive" | "index_blockArchiveParentRootIndex" | "index_blockArchiveRootIndex" | "index_mainChain" | "index_chainInfo" | "phase0_eth1Data" | "index_depositDataRoot" | "phase0_depositData" | "phase0_exit" | "phase0_proposerSlashing" | "allForks_attesterSlashing" | "capella_blsToExecutionChange" | "allForks_checkpointState" | "phase0_depositEvent" | "index_stateArchiveRootIndex" | "deneb_blobSidecars" | "deneb_blobSidecarsArchive" | "phase0_preGenesisState" | "phase0_preGenesisStateLastProcessedBlock" | "backfilled_ranges" | "lightClient_syncCommitteeWitness" | "lightClient_syncCommittee" | "lightClient_checkpointHeader" | "lightClient_bestLightClientUpdate" | "fulu_dataColumnSidecars" | "fulu_dataColumnSidecarsArchive";
export declare function getRootIndex(db: Db, blockRoot: Root): Promise<Uint8Array | null>;
export declare function getParentRootIndex(db: Db, parentRoot: Root): Promise<Uint8Array | null>;
export declare function storeRootIndex(db: Db, slot: Slot, blockRoot: Root): Promise<void>;
export declare function storeParentRootIndex(db: Db, slot: Slot, parentRoot: Root): Promise<void>;
export declare function deleteRootIndex(db: Db, signedBeaconBlockType: SSZTypesFor<ForkAll, "SignedBeaconBlock">, block: SignedBeaconBlock): Promise<void>;
export declare function deleteParentRootIndex(db: Db, block: SignedBeaconBlock): Promise<void>;
export declare function getParentRootIndexKey(parentRoot: Root): Uint8Array;
export declare function getRootIndexKey(root: Root): Uint8Array;
//# sourceMappingURL=blockArchiveIndex.d.ts.map