import { ApiResult, BlockWrapper, BlocksWrapper, HeightWrapper, MilestoneWrapper, RewardWrappper, SupplyWrapper, Status } from '@gny/interfaces';
import { Connection } from '../connection';
export declare class Block {
    private base;
    constructor(connection: Connection);
    getBlockById(id: string): Promise<ApiResult<BlockWrapper, "Server Error" | "Block not found" | "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">>;
    getBlockByHeight(height: string): Promise<ApiResult<BlockWrapper, "Server Error" | "Block not found" | "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">>;
    getBlocks(offset?: string, limit?: string, orderBy?: string, transactions?: boolean): Promise<ApiResult<BlocksWrapper, string>>;
    getHeight(): Promise<ApiResult<HeightWrapper, string>>;
    getMilestone(): Promise<ApiResult<MilestoneWrapper, string>>;
    getReward(): Promise<ApiResult<RewardWrappper, string>>;
    getSupply(): Promise<ApiResult<SupplyWrapper, string>>;
    getStatus(): Promise<ApiResult<Status, string>>;
}
//# sourceMappingURL=block.d.ts.map