import type { ClientOptions } from "../types"; import { BaseClient } from "./BaseClient"; /** Topic manager metadata returned by listTopicManagers */ export interface TopicManagerInfo { name?: string; description?: string; icon?: string; [key: string]: unknown; } /** Lookup service provider metadata returned by listLookupServiceProviders */ export interface LookupServiceInfo { [key: string]: unknown; } /** * Client for overlay service routes. * Handles topic manager queries and overlay lookups. */ export declare class OverlayClient extends BaseClient { constructor(baseUrl: string, options?: ClientOptions); /** * List all registered topic managers. */ listTopicManagers(): Promise>; /** * List all registered lookup service providers. */ listLookupServiceProviders(): Promise>; /** * Submit a transaction to the overlay service for indexing. * @param beef - BEEF data as Uint8Array or number[] * @param topics - Topic names to submit to (e.g., ["tm_tokenId"]) */ submit(beef: Uint8Array | number[], topics: string[]): Promise<{ status: string; txid?: string; message?: string; }>; /** * Submit a BSV-21 token transaction to the overlay. * Convenience method that formats the topic correctly. * @param beef - BEEF data * @param tokenId - Token ID (txid_vout format) */ submitBsv21(beef: Uint8Array | number[], tokenId: string): Promise<{ status: string; txid?: string; message?: string; }>; }