import { ApiClient } from './api-client'; import { Block } from '../types'; export interface BlockQuery { by: 'height' | 'hash'; value: string; } export interface BlocksQuery { index?: number; limit?: number; sort?: 'asc' | 'desc'; } export interface CurrentHeightResponse { height: number; } export declare class BlockApi { private client; constructor(client: ApiClient); getBlock(query: BlockQuery): Promise; getBlocks(query?: BlocksQuery): Promise<{ blocks: Block[]; }>; getCurrentHeight(): Promise; } //# sourceMappingURL=block-api.d.ts.map