import { ChainForkConfig } from "@lodestar/config";
import { BinaryRepository, Db } from "@lodestar/db";
import { Root, RootHex, Slot } from "@lodestar/types";
export type BeaconStateArchive = {
    serialize(): Uint8Array;
    hashTreeRoot(): Root;
};
export declare class StateArchiveRepository extends BinaryRepository<Slot> {
    constructor(config: ChainForkConfig, db: Db);
    put(key: Slot, value: BeaconStateArchive): Promise<void>;
    decodeKey(data: Uint8Array): number;
    getBinaryByRoot(stateRoot: Root): Promise<Uint8Array | null>;
    dumpRootIndexEntries(): Promise<{
        root: RootHex;
        slot: Slot;
    }[]>;
    private getSlotByRoot;
}
//# sourceMappingURL=stateArchive.d.ts.map