/** * Wrapper over Privy's signing with automatic confirmation modals * * Shows a confirmation modal before every signing operation * Supports both Stellar (rawSign) and Solana (signMessage) based on requested chainType */ export interface SignRawHashModalOptions { skipModal?: boolean; title?: string; description?: string; confirmText?: string; rejectText?: string; infoText?: string; /** Custom content to display instead of auto-generated JSON */ displayHash?: string; /** Show technical details (address, chainType, hash) as JSON. Default: false */ showTechnicalDetails?: boolean; } export interface SignRawHashParams { address: string; chainType: string; hash: `0x${string}`; } export interface UseSignRawHashWithModalReturn { /** Sign a raw hash with confirmation modal */ signRawHashWithModal: (params: SignRawHashParams, modalOptions?: SignRawHashModalOptions) => Promise<{ signature: string; } | null>; } export declare function useSignRawHashWithModal(): UseSignRawHashWithModalReturn;