import { Info, RecentType } from 'nostr-login-components/dist/types/types'; import NDK, { NDKSigner } from '@nostr-dev-kit/ndk'; import { NostrLoginOptions } from '../types'; export declare const localStorageSetItem: (key: string, value: string) => void; export declare const localStorageGetItem: (key: string) => any; export declare const localStorageRemoveItem: (key: string) => void; export declare const fetchProfile: (info: Info, profileNdk: NDK) => Promise; export declare const prepareSignupRelays: (signupRelays?: string) => string[]; export declare const createProfile: (info: Info, profileNdk: NDK, signer: NDKSigner, signupRelays?: string, outboxRelays?: string[]) => Promise; export declare const bunkerUrlToInfo: (bunkerUrl: string, sk?: string) => Info; export declare const isBunkerUrl: (value: string) => boolean; export declare const getBunkerUrl: (value: string, optionsModal: NostrLoginOptions) => Promise; export declare const checkNip05: (nip05: string) => Promise<{ available: boolean; taken: boolean; error: string; pubkey: string; }>; export declare const localStorageAddAccount: (info: Info) => void; export declare const localStorageRemoveCurrentAccount: () => void; export declare const localStorageRemoveRecent: (user: RecentType) => void; export declare const localStorageGetRecents: () => RecentType[]; export declare const localStorageGetAccounts: () => Info[]; export declare const localStorageGetCurrent: () => Info | null; export declare const setDarkMode: (dark: boolean) => void; export declare const getDarkMode: (opt: NostrLoginOptions) => boolean; export declare const getIcon: () => Promise;