import { MaciState } from "@maci-protocol/core";
import type { IGenerateMaciStateFromContractArgs } from "./types";
/**
 * Generate a MaciState object from the events of a MACI and Poll smart contracts
 * @param provider - the ethereum provider
 * @param address - the address of the MACI contract
 * @param coordinatorKeypair - the keypair of the coordinator
 * @param pollId - the id of the poll for which we are fetching events
 * @param fromBlock - the block number from which to start fetching events
 * @param blocksPerRequest - the number of blocks to fetch in each request
 * @param endBlock - the block number at which to stop fetching events
 * @param sleepAmount - the amount of time to sleep between each request
 * @param ipfsMessageBackupFiles - backup files for ipfs messages
 * @param logsOutputPath - the file path where to save the logs for debugging and auditing purposes
 * @returns an instance of MaciState
 */
export declare const generateMaciStateFromContract: ({ provider, address, coordinatorKeypair, pollId, fromBlock, blocksPerRequest, endBlock, sleepAmount, ipfsMessageBackupFiles, logsOutputPath, }: IGenerateMaciStateFromContractArgs) => Promise<MaciState>;
//# sourceMappingURL=generateMaciState.d.ts.map