import { ForkSeq } from "@lodestar/params"; import { AttesterSlashing, IndexedAttestation, IndexedAttestationBigint, Slot, ValidatorIndex, phase0 } from "@lodestar/types"; /** * Check if [[data1]] and [[data2]] are slashable according to Casper FFG rules. */ export declare function isSlashableAttestationData(data1: phase0.AttestationDataBigint, data2: phase0.AttestationDataBigint): boolean; export declare function isValidAttestationSlot(attestationSlot: Slot, currentSlot: Slot): boolean; /** * Compute the intersection of two sorted validator index lists. * Both inputs must be sorted in ascending order (per spec). */ export declare function getIntersectingIndices(indices1: ValidatorIndex[], indices2: ValidatorIndex[]): ValidatorIndex[]; export declare function getAttesterSlashableIndices(attesterSlashing: AttesterSlashing): ValidatorIndex[]; /** * Convert IndexedAttestation to IndexedAttestationBigint via SSZ roundtrip. * Both types share the same binary layout — only the JS numeric representation differs. */ export declare function toIndexedAttestationBigint(att: IndexedAttestation, fork: ForkSeq): IndexedAttestationBigint; //# sourceMappingURL=attestation.d.ts.map