import { WebView } from 'react-native-webview';
import { MessageHandlerConfig } from './useMessageHandler';
export interface PortHandlerConfig extends Omit<MessageHandlerConfig, 'walletAddress' | 'chainId'> {
    address?: string;
    chainId?: number;
}
/**
 * Hook to handle WebView communication for React Native
 *
 * This is the React Native equivalent of the usePortHandler hook
 * for web implementations.
 */
export declare function usePortHandler(config?: PortHandlerConfig): {
    handleWebViewMessage: (event: any) => Promise<void>;
    webViewRef: import("react").RefObject<WebView>;
    isReady: boolean;
};
export default usePortHandler;
//# sourceMappingURL=usePortHandler.d.ts.map