interface UseAppKitBtcBridgeOptions {
    onError?: (error: Error) => void;
}
/**
 * Bridge AppKit Bitcoin connection state with babylon-wallet-connector
 *
 * This hook monitors AppKit's Bitcoin connection state and dispatches
 * connection events on the shared private `EventTarget` that
 * `AppKitBTCProvider.connectWallet()` is waiting on. It does NOT call
 * `btcConnector.connect()` to avoid circular dependency issues.
 *
 * The connection-events bus is intentionally NOT `window` — see
 * {@link SharedBtcAppKitConfig.connectionEvents}. A same-origin attacker
 * (XSS or malicious extension) cannot dispatch on the private bus, so
 * the cached connected address/pubkey on `AppKitBTCProvider` cannot be
 * spoofed via `window.dispatchEvent`.
 *
 * To prevent race conditions, it listens for "babylon:open-appkit" events
 * (a UI trigger, not a state source) to coordinate event dispatch timing
 * with the provider's event-listener registration.
 */
export declare const useAppKitBtcBridge: ({ onError }?: UseAppKitBtcBridgeOptions) => {
    isAppKitBtcConnected: boolean;
    appKitBtcAddress: string | undefined;
};
export {};
