import { LensFrameContext } from './use-lens-context.cjs'; import { q as SignerStateInstance } from '../../types-CH60H6Gq.cjs'; import { Storage } from '../types.cjs'; import '../../hooks/use-visibility-detection.cjs'; import 'frames.js'; import 'react'; import 'frames.js/frame-parsers'; import 'frames.js/types'; type LensProfile = { id: string; handle?: string; }; type LensSigner = { profileId: string; accessToken: string; identityToken: string; handle: string; address: `0x${string}`; }; type LensFrameRequest = { clientProtocol: string; untrustedData: { specVersion: string; profileId: string; pubId: string; url: string; buttonIndex: number; unixTimestamp: number; deadline?: number; inputText?: string; state?: string; actionResponse?: string; identityToken: string; }; trustedData: { messageBytes: string; }; }; type LensSignerInstance = SignerStateInstance & { showProfileSelector: boolean; availableProfiles: LensProfile[]; handleSelectProfile: (profile: LensProfile) => Promise; closeProfileSelector: () => void; }; type LensIdentityOptions = { /** * @defaultValue WebStorage */ storage?: Storage; /** * @defaultValue "lensProfile" */ storageKey?: string; /** * @defaultValue "production" */ environment?: "production" | "development"; }; declare function useLensIdentity({ storage, storageKey, environment, }?: LensIdentityOptions): LensSignerInstance; export { type LensProfile, type LensSigner, type LensSignerInstance, useLensIdentity };