import { BeaconConfig } from "@lodestar/config"; import { ForkSeq } from "@lodestar/params"; import { Slot, phase0 } from "@lodestar/types"; import { Validator } from "@lodestar/types/phase0"; import { Index2PubkeyCache } from "../cache/pubkeyCache.js"; import { CachedBeaconStateAllForks } from "../types.js"; /** * Process a ProposerSlashing operation. Initiates the exit of a validator, decreases the balance of the slashed * validator and increases the block proposer balance. * * PERF: Work depends on number of ProposerSlashing per block. On regular networks the average is 0 / block. */ export declare function processProposerSlashing(fork: ForkSeq, state: CachedBeaconStateAllForks, proposerSlashing: phase0.ProposerSlashing, verifySignatures?: boolean): void; export declare function assertValidProposerSlashing(config: BeaconConfig, index2pubkey: Index2PubkeyCache, stateSlot: Slot, proposerSlashing: phase0.ProposerSlashing, proposer: Validator, verifySignatures?: boolean): void; //# sourceMappingURL=processProposerSlashing.d.ts.map