import { A as APIResponse, N as NetworkStatus, W as Web3Chain } from './auth-c1d7Eji2.js'; export { M as MPCNode, P as PublicSession, S as Session } from './auth-c1d7Eji2.js'; export { BillingPlan, BillingRecord, PrepaidCheckoutResult, PrepaidVerifyResult, ProfileScope, ProfileUpdateInput, Subscription, UsageSummary, UserProfile, UserUtilsCallbacks, UserUtilsConfig } from './types/index.js'; export { cn, decodeJwtPayloadClient, formatTokens, readCSRFCookie, readSessionCookie, safeUrl, validateRedirectUrl } from './utils/index.js'; export { BridgeIdentity, GoogleOneTapConfig, InviteCode, StackPublicConfig, UseInvitesConfig, UseInvitesResult, UseJoinCodeConfig, UseJoinCodeResult, WalletState, useAuthBridge, useBillingHistory, useCSRFToken, useGoogleOneTap, useInvites, useJoinCode, usePlans, usePrepaidCheckout, useProfile, useSession, useStackAuth, useStackConfig, useSubscription, useUsage, useWeb3Wallet } from './hooks/index.js'; export { AppleIcon, ClientRateLimitConfig, ClientRateLimitDecision, ConnectWidget, ConnectWidgetProps, DiscordIcon, EthereumIcon, GoogleIcon, MetaMaskIcon, OTPInput, OTPInputProps, PhantomIcon, ProfileSettings, ProfileSettingsProps, SolanaIcon, TelegramIcon, TwitterIcon, UserUtilsProvider, UserUtilsProviderProps, createClientRateLimiter, useUserUtilsContext } from './components/index.js'; export { createAuthClient } from './core/index.js'; export { A as AuthClient, a as AuthClientConfig, b as AuthTransport } from './types-Cu0do-w-.js'; export { SecureStorage, createNativeTransport, createWebTransport } from './adapters/index.js'; import 'clsx'; import 'react/jsx-runtime'; import 'react'; interface StackNetClientConfig { baseUrl: string; stackId: string; apiVersion?: string; } /** * Client-safe StackNet API client. * * ONLY exposes public/read-only endpoints: * - getNetworkStatus (public) * - getWeb3Challenge (public — generates a challenge for wallet signing) * * Sensitive operations (verifyWeb3Signature, refreshSession, revokeSession) * are NOT exposed. These MUST go through server-side route handlers * (createAuthCallback, createSessionHandler, createLogoutHandler) * to keep JWTs in HttpOnly cookies. */ declare function createStackNetClient(config: StackNetClientConfig): { getNetworkStatus: () => Promise>; getWeb3Challenge: (chain: Web3Chain, address: string) => Promise>; }; type StackNetClient = ReturnType; export { APIResponse, NetworkStatus, type StackNetClient, type StackNetClientConfig, Web3Chain, createStackNetClient };