/** * Hook for controlling Openfort UI modal and navigation * * This hook provides programmatic control over the Openfort UI modal, including opening, * closing, and navigating between different screens. It handles route validation and * automatically selects appropriate screens based on user connection and authentication state. * * @returns UI control functions and modal state * * @example * ```tsx * const ui = useUI(); * * if (ui.isOpen) { * console.log('Openfort modal is open'); * } * * ui.open(); // Opens modal with default route * ui.close(); // Closes modal * ui.openProfile(); // Opens user profile screen * ``` */ export declare function useUI(): { isOpen: boolean; open: () => void; close: () => void; setIsOpen: (value: boolean) => void; openProfile: () => void; openSwitchNetworks: () => void; openProviders: () => void; openWallets: () => void; };