import { ChainForkConfig } from "@lodestar/config";
import { Db, PrefixedRepository } from "@lodestar/db";
import { ColumnIndex, DataColumnSidecar, Root } from "@lodestar/types";
type BlockRoot = Root;
/**
 * DataColumnSidecarsRepository
 * Used to store `unfinalized` DataColumnSidecars
 *
 * Indexed data by `blockRoot` + `columnIndex`
 */
export declare class DataColumnSidecarRepository extends PrefixedRepository<BlockRoot, ColumnIndex, DataColumnSidecar> {
    constructor(config: ChainForkConfig, db: Db);
    /**
     * Id is hashTreeRoot of unsigned BeaconBlock
     */
    getId(value: DataColumnSidecar): ColumnIndex;
    encodeValue(value: DataColumnSidecar): Uint8Array;
    decodeValue(data: Uint8Array): DataColumnSidecar;
    encodeKeyRaw(prefix: BlockRoot, id: ColumnIndex): Uint8Array;
    decodeKeyRaw(raw: Uint8Array): {
        prefix: BlockRoot;
        id: ColumnIndex;
    };
    getMaxKeyRaw(prefix: BlockRoot): Uint8Array;
    getMinKeyRaw(prefix: BlockRoot): Uint8Array;
}
export {};
//# sourceMappingURL=dataColumnSidecar.d.ts.map