import { InscriptionIdentifier, UTXO } from '../core/types';
/** Response from the ordinals verification API */
export interface UtxoOrdinalInfo {
    txid: string;
    vout: number;
    inscription: boolean;
}
/**
 * Verify UTXOs for ordinal inscriptions via backend API.
 *
 * This is used as a fallback when the wallet doesn't support getInscriptions().
 * The API endpoint should be provided by the consuming application.
 *
 * @param utxos - UTXOs to verify
 * @param address - Bitcoin address owning the UTXOs
 * @param apiBaseUrl - Base URL for the ordinals API (e.g., "https://api.example.com")
 * @param timeout - Request timeout in milliseconds (default: 2000)
 * @returns Array of UTXO info with inscription status
 * @throws Error if API request fails
 */
export declare function verifyUtxoOrdinals(utxos: UTXO[], address: string, apiBaseUrl: string, timeout?: number): Promise<UtxoOrdinalInfo[]>;
/**
 * Convert UTXO ordinal info to inscription identifiers.
 *
 * Filters the API response to only include UTXOs that have inscriptions.
 *
 * @param utxoInfos - Array of UTXO ordinal info from API
 * @returns Array of inscription identifiers
 */
export declare function toInscriptionIdentifiers(utxoInfos: UtxoOrdinalInfo[]): InscriptionIdentifier[];
