import { XmtpFrameContext } from './use-xmtp-context.js'; import { FramePostPayload } from '@xmtp/frames-client'; import { Storage } from '../types.js'; import { q as SignerStateInstance } from '../../types-CH60H6Gq.js'; import '../../hooks/use-visibility-detection.js'; import 'frames.js'; import 'react'; import 'frames.js/frame-parsers'; import 'frames.js/types'; type XmtpSigner = { walletAddress: string; keys: Uint8Array; }; type XmtpSignerInstance = SignerStateInstance; type XmtpIdentityOptions = { /** * @defaultValue WebStorage */ storage?: Storage; /** * @defaultValue "xmtpSigner" */ storageKey?: string; }; declare function useXmtpIdentity({ storage, storageKey, }?: XmtpIdentityOptions): XmtpSignerInstance; export { type XmtpSigner, type XmtpSignerInstance, useXmtpIdentity };