import { ForkSeq } from "@lodestar/params"; import { Attestation, Slot, phase0 } from "@lodestar/types"; import { CachedBeaconStateAllForks, CachedBeaconStatePhase0 } from "../types.js"; /** * Process an Attestation operation. Validates an attestation and appends it to state.currentEpochAttestations or * state.previousEpochAttestations to be processed in bulk at the epoch transition. * * PERF: Work depends on number of Attestation per block. On mainnet the average is 89.7 / block, with 87.8 participant * true bits on average. See `packages/state-transition/test/perf/analyzeBlocks.ts` */ export declare function processAttestationPhase0(state: CachedBeaconStatePhase0, attestation: phase0.Attestation, verifySignature?: boolean): void; export declare function validateAttestation(fork: ForkSeq, state: CachedBeaconStateAllForks, attestation: Attestation): void; export declare function isTimelyTarget(fork: ForkSeq, inclusionDistance: Slot): boolean; export declare function checkpointToStr(checkpoint: phase0.Checkpoint): string; //# sourceMappingURL=processAttestationPhase0.d.ts.map