import type { Transaction } from "@bsv/sdk";
import type { BroadcastResult } from "../components/social/types/social.js";
import type { UTXO } from "../types/backend.js";
import type { BlockchainServiceConfig } from "./types.js";
export declare class BlockchainService {
    private config;
    constructor(config: BlockchainServiceConfig);
    private getHeaders;
    private getEndpoint;
    broadcastTransaction(tx: Transaction | string): Promise<BroadcastResult>;
    getUTXOs(address: string): Promise<UTXO[]>;
    getBalance(address: string): Promise<{
        confirmed: number;
        unconfirmed: number;
    }>;
    getTransactions(address: string, limit?: number): Promise<Record<string, unknown>[]>;
    private normalizeUTXOs;
    private normalizeBalance;
}
export declare function createBlockchainService(config?: BlockchainServiceConfig): BlockchainService;
export type { BlockchainServiceConfig };
//# sourceMappingURL=blockchain-service.d.ts.map