import { ApiResult, CountWrapper, DelegateResponseError, AccountsWrapper, ValidationError, DelegateWrapper, DelegateOwnProducedBlocks, OwnProducedBlocksQuery, DelegatesWrapper, ForgingStatus, SimpleAccountsWrapper, DelegateAddressOrUsername } from '@gny/interfaces';
import { Connection } from '../connection';
export declare class Delegate {
    private base;
    constructor(connection: Connection);
    count(): Promise<ApiResult<CountWrapper, DelegateResponseError>>;
    getVoters(username: string): Promise<ApiResult<AccountsWrapper, "Server Error" | "child \"address\" fails because [\"address\" is not a GNY address]" | "child \"publicKey\" fails because [\"publicKey\" is not in the format of a 32 char long hex string buffer]" | "child \"secret\" fails because [\"secret\" is not BIP39 complient]" | "child \"username\" fails because [\"username\" is not an GNY username]" | "child \"issuer\" fails because [\"address\" is not a valid GNY issuer name]" | "child \"asset\" fails because [\"asset\" is not a valid GNY asset name]" | "child \"signature\" fails because [\"signature\" is not a valid GNY signature]" | "child \"positiveOrZeroBigInt\" fails because [\"positiveOrZeroBigInt\" is not a positive or zero big integer amount]" | "child \"ipv4PlusPort\" fails because [\"ipv4PlusPort\" is not a ipv4:port]" | "Invalid params">>;
    getOwnVotes(params: DelegateAddressOrUsername): Promise<ApiResult<SimpleAccountsWrapper, "Server Error" | "child \"address\" fails because [\"address\" is not a GNY address]" | "child \"publicKey\" fails because [\"publicKey\" is not in the format of a 32 char long hex string buffer]" | "child \"secret\" fails because [\"secret\" is not BIP39 complient]" | "child \"username\" fails because [\"username\" is not an GNY username]" | "child \"issuer\" fails because [\"address\" is not a valid GNY issuer name]" | "child \"asset\" fails because [\"asset\" is not a valid GNY asset name]" | "child \"signature\" fails because [\"signature\" is not a valid GNY signature]" | "child \"positiveOrZeroBigInt\" fails because [\"positiveOrZeroBigInt\" is not a positive or zero big integer amount]" | "child \"ipv4PlusPort\" fails because [\"ipv4PlusPort\" is not a ipv4:port]" | "Invalid params">>;
    getDelegateByPubKey(publicKey: string): Promise<ApiResult<DelegateWrapper, "child \"address\" fails because [\"address\" is not a GNY address]" | "child \"publicKey\" fails because [\"publicKey\" is not in the format of a 32 char long hex string buffer]" | "child \"secret\" fails because [\"secret\" is not BIP39 complient]" | "child \"username\" fails because [\"username\" is not an GNY username]" | "child \"issuer\" fails because [\"address\" is not a valid GNY issuer name]" | "child \"asset\" fails because [\"asset\" is not a valid GNY asset name]" | "child \"signature\" fails because [\"signature\" is not a valid GNY signature]" | "child \"positiveOrZeroBigInt\" fails because [\"positiveOrZeroBigInt\" is not a positive or zero big integer amount]" | "child \"ipv4PlusPort\" fails because [\"ipv4PlusPort\" is not a ipv4:port]" | "Invalid params" | "Failed to count delegates" | "no delegates" | "Can not find delegate" | "No delegates found" | "Delegate not found">>;
    getDelegateByUsername(username: string): Promise<ApiResult<DelegateWrapper, "child \"address\" fails because [\"address\" is not a GNY address]" | "child \"publicKey\" fails because [\"publicKey\" is not in the format of a 32 char long hex string buffer]" | "child \"secret\" fails because [\"secret\" is not BIP39 complient]" | "child \"username\" fails because [\"username\" is not an GNY username]" | "child \"issuer\" fails because [\"address\" is not a valid GNY issuer name]" | "child \"asset\" fails because [\"asset\" is not a valid GNY asset name]" | "child \"signature\" fails because [\"signature\" is not a valid GNY signature]" | "child \"positiveOrZeroBigInt\" fails because [\"positiveOrZeroBigInt\" is not a positive or zero big integer amount]" | "child \"ipv4PlusPort\" fails because [\"ipv4PlusPort\" is not a ipv4:port]" | "Invalid params" | "Failed to count delegates" | "no delegates" | "Can not find delegate" | "No delegates found" | "Delegate not found">>;
    getDelegateByAddress(address: string): Promise<ApiResult<DelegateWrapper, "child \"address\" fails because [\"address\" is not a GNY address]" | "child \"publicKey\" fails because [\"publicKey\" is not in the format of a 32 char long hex string buffer]" | "child \"secret\" fails because [\"secret\" is not BIP39 complient]" | "child \"username\" fails because [\"username\" is not an GNY username]" | "child \"issuer\" fails because [\"address\" is not a valid GNY issuer name]" | "child \"asset\" fails because [\"asset\" is not a valid GNY asset name]" | "child \"signature\" fails because [\"signature\" is not a valid GNY signature]" | "child \"positiveOrZeroBigInt\" fails because [\"positiveOrZeroBigInt\" is not a positive or zero big integer amount]" | "child \"ipv4PlusPort\" fails because [\"ipv4PlusPort\" is not a ipv4:port]" | "Invalid params" | "Failed to count delegates" | "no delegates" | "Can not find delegate" | "No delegates found" | "Delegate not found">>;
    ownProducedBlocks(params: OwnProducedBlocksQuery): Promise<ApiResult<DelegateOwnProducedBlocks, ValidationError>>;
    getDelegates(offset?: string, limit?: string): Promise<ApiResult<DelegatesWrapper, "child \"address\" fails because [\"address\" is not a GNY address]" | "child \"publicKey\" fails because [\"publicKey\" is not in the format of a 32 char long hex string buffer]" | "child \"secret\" fails because [\"secret\" is not BIP39 complient]" | "child \"username\" fails because [\"username\" is not an GNY username]" | "child \"issuer\" fails because [\"address\" is not a valid GNY issuer name]" | "child \"asset\" fails because [\"asset\" is not a valid GNY asset name]" | "child \"signature\" fails because [\"signature\" is not a valid GNY signature]" | "child \"positiveOrZeroBigInt\" fails because [\"positiveOrZeroBigInt\" is not a positive or zero big integer amount]" | "child \"ipv4PlusPort\" fails because [\"ipv4PlusPort\" is not a ipv4:port]" | "Invalid params" | "Failed to count delegates" | "no delegates" | "Can not find delegate" | "No delegates found" | "Delegate not found">>;
    forgingStatus(publicKey: string): Promise<ApiResult<ForgingStatus, "child \"address\" fails because [\"address\" is not a GNY address]" | "child \"publicKey\" fails because [\"publicKey\" is not in the format of a 32 char long hex string buffer]" | "child \"secret\" fails because [\"secret\" is not BIP39 complient]" | "child \"username\" fails because [\"username\" is not an GNY username]" | "child \"issuer\" fails because [\"address\" is not a valid GNY issuer name]" | "child \"asset\" fails because [\"asset\" is not a valid GNY asset name]" | "child \"signature\" fails because [\"signature\" is not a valid GNY signature]" | "child \"positiveOrZeroBigInt\" fails because [\"positiveOrZeroBigInt\" is not a positive or zero big integer amount]" | "child \"ipv4PlusPort\" fails because [\"ipv4PlusPort\" is not a ipv4:port]" | "Invalid params" | "Delegate not found" | "Access denied" | "Invalid passphrase" | "Forging is already enabled">>;
}
//# sourceMappingURL=delegate.d.ts.map