import { AggregatedSignature, Block, KeyPair, Precommit, Prevote, Proposal } from "./crypto/index.js"; export interface ValidatorKeyPair { readonly publicKey: string; getKeyPair(): Promise; } export interface Validator { configure(keyPair: ValidatorKeyPair): Validator; getConsensusPublicKey(): string; prepareBlock(generatorPublicKey: string, round: number, timestamp: number): Promise; propose(validatorIndex: number, round: number, validRound: number | undefined, block: Block, lockProof?: AggregatedSignature): Promise; prevote(validatorIndex: number, height: number, round: number, blockId: string | undefined): Promise; precommit(validatorIndex: number, height: number, round: number, blockId: string | undefined): Promise; } export interface ValidatorRepository { getValidator(publicKey: string): Validator | undefined; printLoadedValidators(): void; } //# sourceMappingURL=validator.d.ts.map