import { CreateCfp, CreateVoc, Script, TransactionSegWit, Vote, SetGovernance, SetGovernanceHeight } from '@defichain/jellyfish-transaction'; import { P2WPKHTxnBuilder } from './txn_builder'; export declare class TxnBuilderGovernance extends P2WPKHTxnBuilder { /** * Creates a Community fund proposal. * * @param {CreateCfp} createCfp txn to create * @param {Script} changeScript to send unspent to after deducting the (converted + fees) * @returns {Promise} */ createCfp(createCfp: CreateCfp, changeScript: Script): Promise; /** * Creates a vote of confidence. * * @param {CreateVoc} createVoc txn to create * @param {Script} changeScript to send unspent to after deducting the (converted + fees) * @returns {Promise} */ createVoc(createVoc: CreateVoc, changeScript: Script): Promise; /** * Vote on a community proposal. * * @param {Vote} vote txn to create * @param {Script} changeScript to send unspent to after deducting the (converted + fees) * @returns {Promise} */ vote(vote: Vote, changeScript: Script): Promise; /** * Set governance variable. * * @param {SetGovernance} setGov txn to create * @param {Script} changeScript to send unspent to after deducting the fee * @returns {Promise} */ setGoverance(setGov: SetGovernance, changeScript: Script): Promise; /** * Set governance variable with activation height. * * @param {SetGovernanceHeight} setGovHeight txn to create * @param {Script} changeScript to send unspent to after deducting the fee * @returns {Promise} */ setGoveranceHeight(setGovHeight: SetGovernanceHeight, changeScript: Script): Promise; } //# sourceMappingURL=txn_builder_governance.d.ts.map