/// import http = require('http'); import { BlockInfoDTO } from '../model/blockInfoDTO'; import { MerkleProofInfoDTO } from '../model/merkleProofInfoDTO'; import { TransactionInfoDTO } from '../model/transactionInfoDTO'; import { Authentication } from '../model/models'; export declare enum BlockRoutesApiApiKeys { } export declare class BlockRoutesApi { protected _basePath: string; protected defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { 'default': Authentication; }; constructor(basePath?: string); useQuerystring: boolean; basePath: string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: BlockRoutesApiApiKeys, value: string): void; getBlockByHeight(height: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: BlockInfoDTO; }>; getBlockTransactions(height: string, pageSize?: number, id?: string, ordering?: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Array; }>; getBlocksByHeightWithLimit(height: string, limit: number, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Array; }>; getMerkleTransaction(height: string, hash: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: MerkleProofInfoDTO; }>; }