UNPKG

bigblocks

Version:

Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React

15 lines 784 B
import type React from "react"; import { type AuthMessages } from "../../lib/auth-messages"; import type { AuthActions, AuthState, BitcoinAuthConfig } from "../../lib/types"; export interface BitcoinAuthContextValue extends AuthState, AuthActions { config: BitcoinAuthConfig; } export declare const BitcoinAuthContext: React.Context<BitcoinAuthContextValue | null>; export interface BitcoinAuthProviderProps { config: BitcoinAuthConfig; children: React.ReactNode; messages?: Partial<AuthMessages>; } export declare function BitcoinAuthProvider({ config, children, messages, }: BitcoinAuthProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useBitcoinAuthContext(): BitcoinAuthContextValue; //# sourceMappingURL=BitcoinAuthProvider.d.ts.map