/** * UI Store for managing modal and dropdown visibility. * Uses Svelte 5 runes for reactive state management. */ export type ViewState = 'selector' | 'add-account'; /** * Create the UI store with reactive state and actions. * @param scopeId - Scope identifier (unused for storage, but available for identification). */ export declare function createUIStore(scopeId?: string): { uiState: { showWalletList: boolean; targetInstance: string | null; currentView: ViewState; authModal: { show: boolean; address: string; error: string; }; wcModal: { show: boolean; uri: string; walletName: string; }; }; uiStore: { toggleWalletList(instanceId?: string): void; openWalletList(instanceId?: string): void; closeWalletList(): void; showAddAccount(): void; showSelector(): void; showAuthModal(address: string): void; setAuthError(error: string): void; clearAuthError(): void; closeAuthModal(): void; showWalletConnectModal(uri: string, walletName: string): void; closeWalletConnectModal(): void; closeAll(): void; readonly showWalletList: boolean; readonly targetInstance: string | null; readonly currentView: ViewState; readonly authModal: { show: boolean; address: string; error: string; }; readonly wcModal: { show: boolean; uri: string; walletName: string; }; }; }; export declare const uiState: { showWalletList: boolean; targetInstance: string | null; currentView: ViewState; authModal: { show: boolean; address: string; error: string; }; wcModal: { show: boolean; uri: string; walletName: string; }; }; export declare const uiStore: { toggleWalletList(instanceId?: string): void; openWalletList(instanceId?: string): void; closeWalletList(): void; showAddAccount(): void; showSelector(): void; showAuthModal(address: string): void; setAuthError(error: string): void; clearAuthError(): void; closeAuthModal(): void; showWalletConnectModal(uri: string, walletName: string): void; closeWalletConnectModal(): void; closeAll(): void; readonly showWalletList: boolean; readonly targetInstance: string | null; readonly currentView: ViewState; readonly authModal: { show: boolean; address: string; error: string; }; readonly wcModal: { show: boolean; uri: string; walletName: string; }; };