import { BlockHeadersService } from '@bsv/sdk'; import { ChaintracksServiceClient, ChaintracksServiceClientOptions } from './chaintracks/ChaintracksServiceClient'; import { HeaderListener, ReorgListener, ChaintracksInfoApi } from './chaintracks/Api/ChaintracksClientApi'; import { Chain } from '../../sdk/types'; import { BlockHeader } from '../../sdk/WalletServices.interfaces'; export declare class BHServiceClient implements ChaintracksServiceClient { bhs: BlockHeadersService; cache: Record; chain: Chain; serviceUrl: string; options: ChaintracksServiceClientOptions; apiKey: string; constructor(chain: Chain, url: string, apiKey: string); currentHeight(): Promise; isValidRootForHeight(root: string, height: number): Promise; getPresentHeight(): Promise; findHeaderForHeight(height: number): Promise; findHeaderForBlockHash(hash: string): Promise; getHeaders(height: number, count: number): Promise; findChainWorkForBlockHash(hash: string): Promise; findChainTipHeader(): Promise; getJsonOrUndefined(path: string): Promise; getJson(path: string): Promise; postJsonVoid(path: string, params: T): Promise; addHeader(header: any): Promise; findHeaderForMerkleRoot(merkleRoot: string, height?: number): Promise; startListening(): Promise; listening(): Promise; isSynchronized(): Promise; getChain(): Promise; isListening(): Promise; getChainTipHeader(): Promise; findChainTipHash(): Promise; subscribeHeaders(listener: HeaderListener): Promise; subscribeReorgs(listener: ReorgListener): Promise; unsubscribe(subscriptionId: string): Promise; getInfo(): Promise; } //# sourceMappingURL=BHServiceClient.d.ts.map