import { OpenfortError } from '@openfort/openfort-js'; /** * Returns connectWithSiwe for linking external wallets via SIWE. * * @returns { connectWithSiwe } * * @example * ```tsx * const { connectWithSiwe } = useConnectWithSiwe() * await connectWithSiwe({ onConnect: () => router.replace('/dashboard') }) * ``` */ export declare function useConnectWithSiwe(): { connectWithSiwe: ({ onError, onConnect, address: propsAddress, connectorType: propsConnectorType, walletClientType: propsWalletClientType, link, }?: { address?: `0x${string}`; connectorType?: string; walletClientType?: string; onError?: (error: string, openfortError?: OpenfortError) => void; onConnect?: () => void; link?: boolean; }) => Promise; };