import { ContractFactory, ContractTransactionResponse } from "ethers";
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
import type { NonPayableOverrides } from "../../common";
import type { Poll, PollInterface } from "../../contracts/Poll";
type PollConstructorParams = [linkLibraryAddresses: PollLibraryAddresses, signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
export declare class Poll__factory extends ContractFactory {
    constructor(...args: PollConstructorParams);
    static linkBytecode(linkLibraryAddresses: PollLibraryAddresses): string;
    getDeployTransaction(overrides?: NonPayableOverrides & {
        from?: string;
    }): Promise<ContractDeployTransaction>;
    deploy(overrides?: NonPayableOverrides & {
        from?: string;
    }): Promise<Poll & {
        deploymentTransaction(): ContractTransactionResponse;
    }>;
    connect(runner: ContractRunner | null): Poll__factory;
    static readonly bytecode = " $ce9c2c925f157047e54fa833ec4e61409f$__9063248f667790610e24908590600401613730565b602060405180830381865af4158015610e41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e659190613761565b92915050565b60185460009064ffffffffff16815b8164ffffffffff168164ffffffffff1611610ec65764ffffffffff8116600090815260196020526040902054849003610eb4579392505050565b80610ebe8161377a565b915050610e7a565b50604051631bfab01360e31b815260040160405180910390fd5b6000600080516020613c57833981519152600283604051602001610f049190613798565b60408051601f1981840301815290829052610f1e916137c3565b602060405180830381855afa158015610f3b573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190610f5e9190613761565b610e6591906137f5565b6000610f726129dc565b83815260208101839052610f8581611002565b949350505050565b828114610fad5760405163ca3487f760e01b815260040160405180910390fd5b8260005b81811015610ffa57610ff2868683818110610fce57610fce613340565b90506101400201858584818110610fe757610fe7613340565b9050604002016109d8565b600101610fb1565b505050505050565b6040516314d2f97b60e11b815260009073__$6574937f64fc1d7710ec0e28b7a36713bb$__906329a5f2f690610e24908590600401613817565b601e818154811061104c57600080fd5b600091825260209091200154905081565b60006110676129be565b825151815282516020908101518183015283015160408201526110898161118d565b9392505050565b611098611882565b565b6015818154811061104c57600080fd5b6007544210156110cd57604051630931513d60e11b815260040160405180910390fd5b60175460ff16611098576017805460ff19166001179055600f54600b546110f79160ff16906137f5565b1561109857601654601580546001810182556000919091527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec4750155565b604051630926f44b60e31b815260009073__$20527677031d76601747626a9845039fe4$__90634937a25890610e2490859060040161383f565b601a818154811061104c57600080fd5b6060611188611c2b565b905090565b6040516304b98e1d60e31b815260009073__$dc01a9744591ab014bc46a3b7671cdaefb$ $6574937f64fc1d7710ec0e28b7a36713bb$ $6574937f64fc1d7710ec0e28b7a36713bb$__6329a5f2f66040518060400160405280868560ff168151811061272d5761272d613340565b6020026020010151815260200161274385611f6e565b8152506040518263ffffffff1660e01b81526004016127629190613817565b602060405180830381865af415801561277f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a39190613761565b836127af836001613c17565b60ff16815181106127c2576127c2613340565b60200260200101818152505061298d565b60006127e0826001613c17565b60ff168664ffffffffff16901c64ffffffffff16905060018364ffffffffff16901c64ffffffffff168111156128855760008760010160006128398560016128289190613c17565b60018864ffffffffff16901c611f49565b64ffffffffff16815260200190815260200160002054905080858460016128609190613c17565b60ff168151811061287357612873613340565b6020026020010181815250505061298b565b600087600101600061289e85600188611cbf91906138b3565b64ffffffffff16815260200190815260200160002054905073__$6574937f64fc1d7710ec0e28b7a36713bb$ ";
    static readonly abi: readonly [{
        readonly inputs: readonly [];
        readonly name: "AlreadyInitialized";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "BatchHashesAlreadyPadded";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "DefaultZeroBadIndex";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "DepthTooLarge";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "InvalidBatchLength";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "InvalidMessage";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "InvalidPollProof";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "InvalidPublicKey";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "NotRelayer";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "NumberOfLeavesCannotBeZero";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "PollAlreadyInit";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "StateAlreadyMerged";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "StateLeafNotFound";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "TooManyMessages";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "TooManySignups";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "TooManyVoteOptions";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "UserAlreadyJoined";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "VotingPeriodNotOver";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "VotingPeriodNotStarted";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "VotingPeriodOver";
        readonly type: "error";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "_chainHash";
            readonly type: "uint256";
        }];
        readonly name: "ChainHashUpdated";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "bytes32";
            readonly name: "_ipfsHash";
            readonly type: "bytes32";
        }];
        readonly name: "IpfsHashAdded";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "_stateRoot";
            readonly type: "uint256";
        }, {
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "_totalSignups";
            readonly type: "uint256";
        }];
        readonly name: "MergeState";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "_pollPublicKeyX";
            readonly type: "uint256";
        }, {
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "_pollPublicKeyY";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "_voiceCreditBalance";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "_nullifier";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "_pollStateIndex";
            readonly type: "uint256";
        }];
        readonly name: "PollJoined";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly components: readonly [{
                readonly internalType: "uint256[10]";
                readonly name: "data";
                readonly type: "uint256[10]";
            }];
            readonly indexed: false;
            readonly internalType: "struct DomainObjs.Message";
            readonly name: "_message";
            readonly type: "tuple";
        }, {
            readonly components: readonly [{
                readonly internalType: "uint256";
                readonly name: "x";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "y";
                readonly type: "uint256";
            }];
            readonly indexed: false;
            readonly internalType: "struct DomainObjs.PublicKey";
            readonly name: "_encryptionPublicKey";
            readonly type: "tuple";
        }];
        readonly name: "PublishMessage";
        readonly type: "event";
    }, {
        readonly inputs: readonly [];
        readonly name: "MESSAGE_DATA_LENGTH";
        readonly outputs: readonly [{
            readonly internalType: "uint8";
            readonly name: "";
            readonly type: "uint8";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "actualStateTreeDepth";
        readonly outputs: readonly [{
            readonly internalType: "uint8";
            readonly name: "";
            readonly type: "uint8";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly name: "batchHashes";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "chainHash";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "coordinatorPublicKey";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "x";
            readonly type: "uint256";
        }, {
            readonly internalType: "uint256";
            readonly name: "y";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "coordinatorPublicKeyHash";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "currentSbCommitment";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "emptyBallotRoot";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "endDate";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "extContracts";
        readonly outputs: readonly [{
            readonly internalType: "contract IMACI";
            readonly name: "maci";
            readonly type: "address";
        }, {
            readonly internalType: "contract IVerifier";
            readonly name: "verifier";
            readonly type: "address";
        }, {
            readonly internalType: "contract IVerifyingKeysRegistry";
            readonly name: "verifyingKeysRegistry";
            readonly type: "address";
        }, {
            readonly internalType: "contract IBasePolicy";
            readonly name: "policy";
            readonly type: "address";
        }, {
            readonly internalType: "contract IInitialVoiceCreditProxy";
            readonly name: "initialVoiceCreditProxy";
            readonly type: "address";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "getAppendedBytes";
        readonly outputs: readonly [{
            readonly internalType: "bytes";
            readonly name: "appendedBytes";
            readonly type: "bytes";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "getBatchHashes";
        readonly outputs: readonly [{
            readonly internalType: "uint256[]";
            readonly name: "";
            readonly type: "uint256[]";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "getMaciContract";
        readonly outputs: readonly [{
            readonly internalType: "contract IMACI";
            readonly name: "maci";
            readonly type: "address";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "_index";
            readonly type: "uint256";
        }];
        readonly name: "getPublicJoinedCircuitInputs";
        readonly outputs: readonly [{
            readonly internalType: "uint256[]";
            readonly name: "publicInputs";
            readonly type: "uint256[]";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "_nullifier";
            readonly type: "uint256";
        }, {
            readonly internalType: "uint256";
            readonly name: "_index";
            readonly type: "uint256";
        }, {
            readonly components: readonly [{
                readonly internalType: "uint256";
                readonly name: "x";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "y";
                readonly type: "uint256";
            }];
            readonly internalType: "struct DomainObjs.PublicKey";
            readonly name: "_publicKey";
            readonly type: "tuple";
        }];
        readonly name: "getPublicJoiningCircuitInputs";
        readonly outputs: readonly [{
            readonly internalType: "uint256[]";
            readonly name: "publicInputs";
            readonly type: "uint256[]";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "getStartAndEndDate";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "pollStartDate";
            readonly type: "uint256";
        }, {
            readonly internalType: "uint256";
            readonly name: "pollEndDate";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "element";
            readonly type: "uint256";
        }];
        readonly name: "getStateIndex";
        readonly outputs: readonly [{
            readonly internalType: "uint40";
            readonly name: "";
            readonly type: "uint40";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256[2]";
            readonly name: "array";
            readonly type: "uint256[2]";
        }];
        readonly name: "hash2";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "result";
            readonly type: "uint256";
        }];
        readonly stateMutability: "pure";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256[3]";
            readonly name: "array";
            readonly type: "uint256[3]";
        }];
        readonly name: "hash3";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "result";
            readonly type: "uint256";
        }];
        readonly stateMutability: "pure";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256[4]";
            readonly name: "array";
            readonly type: "uint256[4]";
        }];
        readonly name: "hash4";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "result";
            readonly type: "uint256";
        }];
        readonly stateMutability: "pure";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256[5]";
            readonly name: "array";
            readonly type: "uint256[5]";
        }];
        readonly name: "hash5";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "result";
            readonly type: "uint256";
        }];
        readonly stateMutability: "pure";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "left";
            readonly type: "uint256";
        }, {
            readonly internalType: "uint256";
            readonly name: "right";
            readonly type: "uint256";
        }];
        readonly name: "hashLeftRight";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "result";
            readonly type: "uint256";
        }];
        readonly stateMutability: "pure";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly components: readonly [{
                readonly internalType: "uint256[10]";
                readonly name: "data";
                readonly type: "uint256[10]";
            }];
            readonly internalType: "struct DomainObjs.Message";
            readonly name: "_message";
            readonly type: "tuple";
        }, {
            readonly components: readonly [{
                readonly internalType: "uint256";
                readonly name: "x";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "y";
                readonly type: "uint256";
            }];
            readonly internalType: "struct DomainObjs.PublicKey";
            readonly name: "_encryptionPublicKey";
            readonly type: "tuple";
        }];
        readonly name: "hashMessageAndPublicKey";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "msgHash";
            readonly type: "uint256";
        }];
        readonly stateMutability: "pure";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly components: readonly [{
                readonly components: readonly [{
                    readonly internalType: "uint256";
                    readonly name: "x";
                    readonly type: "uint256";
                }, {
                    readonly internalType: "uint256";
                    readonly name: "y";
                    readonly type: "uint256";
                }];
                readonly internalType: "struct DomainObjs.PublicKey";
                readonly name: "publicKey";
                readonly type: "tuple";
            }, {
                readonly internalType: "uint256";
                readonly name: "voiceCreditBalance";
                readonly type: "uint256";
            }];
            readonly internalType: "struct DomainObjs.StateLeaf";
            readonly name: "_stateLeaf";
            readonly type: "tuple";
        }];
        readonly name: "hashStateLeaf";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "ciphertext";
            readonly type: "uint256";
        }];
        readonly stateMutability: "pure";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "initialize";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "initialized";
        readonly outputs: readonly [{
            readonly internalType: "bool";
            readonly name: "";
            readonly type: "bool";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly name: "ipfsHashes";
        readonly outputs: readonly [{
            readonly internalType: "bytes32";
            readonly name: "";
            readonly type: "bytes32";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "isBatchHashesPadded";
        readonly outputs: readonly [{
            readonly internalType: "bool";
            readonly name: "";
            readonly type: "bool";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "_nullifier";
            readonly type: "uint256";
        }, {
            readonly components: readonly [{
                readonly internalType: "uint256";
                readonly name: "x";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "y";
                readonly type: "uint256";
            }];
            readonly internalType: "struct DomainObjs.PublicKey";
            readonly name: "_publicKey";
            readonly type: "tuple";
        }, {
            readonly internalType: "uint256";
            readonly name: "_stateRootIndex";
            readonly type: "uint256";
        }, {
            readonly internalType: "uint256[8]";
            readonly name: "_proof";
            readonly type: "uint256[8]";
        }, {
            readonly internalType: "bytes";
            readonly name: "_signUpPolicyData";
            readonly type: "bytes";
        }, {
            readonly internalType: "bytes";
            readonly name: "_initialVoiceCreditProxyData";
            readonly type: "bytes";
        }];
        readonly name: "joinPoll";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "maxSignups";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "mergeState";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "mergedStateRoot";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "messageBatchSize";
        readonly outputs: readonly [{
            readonly internalType: "uint8";
            readonly name: "";
            readonly type: "uint8";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "numMessages";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256[2]";
            readonly name: "dataToPad";
            readonly type: "uint256[2]";
        }];
        readonly name: "padAndHashMessage";
        readonly outputs: readonly [{
            readonly components: readonly [{
                readonly internalType: "uint256[10]";
                readonly name: "data";
                readonly type: "uint256[10]";
            }];
            readonly internalType: "struct DomainObjs.Message";
            readonly name: "message";
            readonly type: "tuple";
        }, {
            readonly components: readonly [{
                readonly internalType: "uint256";
                readonly name: "x";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "y";
                readonly type: "uint256";
            }];
            readonly internalType: "struct DomainObjs.PublicKey";
            readonly name: "padKey";
            readonly type: "tuple";
        }, {
            readonly internalType: "uint256";
            readonly name: "msgHash";
            readonly type: "uint256";
        }];
        readonly stateMutability: "pure";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "padLastBatch";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "pollId";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly name: "pollNullifiers";
        readonly outputs: readonly [{
            readonly internalType: "bool";
            readonly name: "";
            readonly type: "bool";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly name: "pollStateRootsOnJoin";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "pollStateTree";
        readonly outputs: readonly [{
            readonly internalType: "uint40";
            readonly name: "maxIndex";
            readonly type: "uint40";
        }, {
            readonly internalType: "uint40";
            readonly name: "numberOfLeaves";
            readonly type: "uint40";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly components: readonly [{
                readonly internalType: "uint256[10]";
                readonly name: "data";
                readonly type: "uint256[10]";
            }];
            readonly internalType: "struct DomainObjs.Message";
            readonly name: "_message";
            readonly type: "tuple";
        }, {
            readonly components: readonly [{
                readonly internalType: "uint256";
                readonly name: "x";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "y";
                readonly type: "uint256";
            }];
            readonly internalType: "struct DomainObjs.PublicKey";
            readonly name: "_encryptionPublicKey";
            readonly type: "tuple";
        }];
        readonly name: "publishMessage";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly components: readonly [{
                readonly internalType: "uint256[10]";
                readonly name: "data";
                readonly type: "uint256[10]";
            }];
            readonly internalType: "struct DomainObjs.Message[]";
            readonly name: "_messages";
            readonly type: "tuple[]";
        }, {
            readonly components: readonly [{
                readonly internalType: "uint256";
                readonly name: "x";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "y";
                readonly type: "uint256";
            }];
            readonly internalType: "struct DomainObjs.PublicKey[]";
            readonly name: "_encryptionPublicKeys";
            readonly type: "tuple[]";
        }];
        readonly name: "publishMessageBatch";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256[]";
            readonly name: "_messageHashes";
            readonly type: "uint256[]";
        }, {
            readonly internalType: "bytes32";
            readonly name: "_ipfsHash";
            readonly type: "bytes32";
        }];
        readonly name: "relayMessagesBatch";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "address";
            readonly name: "";
            readonly type: "address";
        }];
        readonly name: "relayers";
        readonly outputs: readonly [{
            readonly internalType: "bool";
            readonly name: "";
            readonly type: "bool";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256[]";
            readonly name: "array";
            readonly type: "uint256[]";
        }];
        readonly name: "sha256Hash";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "result";
            readonly type: "uint256";
        }];
        readonly stateMutability: "pure";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "startDate";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "stateMerged";
        readonly outputs: readonly [{
            readonly internalType: "bool";
            readonly name: "";
            readonly type: "bool";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "totalSignups";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "signups";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "totalSignupsAndMessages";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "numSUps";
            readonly type: "uint256";
        }, {
            readonly internalType: "uint256";
            readonly name: "numMsgs";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "treeDepths";
        readonly outputs: readonly [{
            readonly internalType: "uint8";
            readonly name: "tallyProcessingStateTreeDepth";
            readonly type: "uint8";
        }, {
            readonly internalType: "uint8";
            readonly name: "voteOptionTreeDepth";
            readonly type: "uint8";
        }, {
            readonly internalType: "uint8";
            readonly name: "stateTreeDepth";
            readonly type: "uint8";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "_index";
            readonly type: "uint256";
        }, {
            readonly internalType: "uint256[8]";
            readonly name: "_proof";
            readonly type: "uint256[8]";
        }];
        readonly name: "verifyJoinedPollProof";
        readonly outputs: readonly [{
            readonly internalType: "bool";
            readonly name: "isValid";
            readonly type: "bool";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "_nullifier";
            readonly type: "uint256";
        }, {
            readonly internalType: "uint256";
            readonly name: "_index";
            readonly type: "uint256";
        }, {
            readonly components: readonly [{
                readonly internalType: "uint256";
                readonly name: "x";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "y";
                readonly type: "uint256";
            }];
            readonly internalType: "struct DomainObjs.PublicKey";
            readonly name: "_publicKey";
            readonly type: "tuple";
        }, {
            readonly internalType: "uint256[8]";
            readonly name: "_proof";
            readonly type: "uint256[8]";
        }];
        readonly name: "verifyJoiningPollProof";
        readonly outputs: readonly [{
            readonly internalType: "bool";
            readonly name: "isValid";
            readonly type: "bool";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "voteOptions";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }];
    static createInterface(): PollInterface;
    static connect(address: string, runner?: ContractRunner | null): Poll;
}
export interface PollLibraryAddresses {
    ["contracts/crypto/PoseidonT5.sol:PoseidonT5"]: string;
    ["contracts/crypto/PoseidonT3.sol:PoseidonT3"]: string;
    ["contracts/crypto/PoseidonT6.sol:PoseidonT6"]: string;
    ["contracts/crypto/PoseidonT4.sol:PoseidonT4"]: string;
}
export {};
//# sourceMappingURL=Poll__factory.d.ts.map