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