import type { CodecType, PaymentBalanceErr, Subscription, Transport } from '@novasamatech/host-api'; export type PaymentBalance = { available: bigint; }; export type PaymentStatus = { type: 'processing'; } | { type: 'completed'; } | { type: 'failed'; reason: string; }; export type TopUpSource = { type: 'productAccount'; derivationIndex: number; } | { type: 'privateKey'; key: Uint8Array; }; export declare const createPaymentManager: (transport?: Transport) => { subscribeBalance(callback: (balance: PaymentBalance) => void): Subscription>; topUp(amount: bigint, source: TopUpSource): Promise; requestPayment(amount: bigint, destination: Uint8Array): Promise<{ id: string; }>; subscribePaymentStatus(id: string, callback: (status: PaymentStatus) => void): Subscription; }; export declare const paymentManager: { subscribeBalance(callback: (balance: PaymentBalance) => void): Subscription>; topUp(amount: bigint, source: TopUpSource): Promise; requestPayment(amount: bigint, destination: Uint8Array): Promise<{ id: string; }>; subscribePaymentStatus(id: string, callback: (status: PaymentStatus) => void): Subscription; };