import { BeaconConfig } from "@lodestar/config"; import { LightClientBootstrap, LightClientFinalityUpdate, LightClientOptimisticUpdate, LightClientUpdate, Slot } from "@lodestar/types"; import { type ProcessUpdateOpts } from "./processLightClientUpdate.js"; import { type ILightClientStore, type LightClientStoreEvents } from "./store.js"; export type { LightClientUpdateSummary } from "./isBetterUpdate.js"; export { isBetterUpdate, toLightClientUpdateSummary } from "./isBetterUpdate.js"; export { type ProcessUpdateOpts, getSyncCommitteeAtPeriod, isSafeLightClientUpdate, processLightClientUpdate, } from "./processLightClientUpdate.js"; export { type ILightClientStore, LightClientStore, type LightClientStoreEvents, type LightClientUpdateWithSummary, type SyncCommitteeFast, } from "./store.js"; export { getLightClientExecutionRoot, getSafetyThreshold, isFinalityUpdate, isSyncCommitteeUpdate, isValidLightClientHeader, normalizeMerkleBranch, upgradeLightClientBootstrap, upgradeLightClientFinalityUpdate, upgradeLightClientHeader, upgradeLightClientOptimisticUpdate, upgradeLightClientStore, upgradeLightClientUpdate, } from "./utils.js"; export { validateLightClientBootstrap } from "./validateLightClientBootstrap.js"; export { validateLightClientUpdate } from "./validateLightClientUpdate.js"; export declare class LightclientSpec { private readonly opts; readonly store: ILightClientStore; readonly config: BeaconConfig; constructor(config: BeaconConfig, opts: ProcessUpdateOpts & LightClientStoreEvents, bootstrap: LightClientBootstrap); onUpdate(currentSlot: Slot, update: LightClientUpdate): void; onFinalityUpdate(currentSlot: Slot, finalityUpdate: LightClientFinalityUpdate): void; onOptimisticUpdate(currentSlot: Slot, optimisticUpdate: LightClientOptimisticUpdate): void; forceUpdate(currentSlot: Slot): void; } //# sourceMappingURL=index.d.ts.map