import { nip19 } from 'nostr-tools'; export declare const defaultRelays: string[]; export declare function parseNaddr(tag: string[]): nip19.AddressPointer; /** * user string を pubkey (hex) に解決する */ export declare function resolveToPubkey(user: string | undefined): Promise; /** * noteId string を note ID (hex) に解決する */ export declare function resolveToNoteId(noteId: string | undefined): string | null; export declare const nip33Regex: RegExp; export declare const hexRegex: RegExp; export declare const repostedId: (tags: string[][]) => { tag: string[] | undefined; kind: number | undefined; }; export declare const getWarningTag: (tags: string[][]) => string[] | undefined; /** * Parse relays prop from string or array to string array */ export declare function parseRelays(relays: string[] | string | undefined): string[]; /** * Get theme class based on theme prop */ export declare function getThemeClass(theme: 'light' | 'dark' | 'auto'): string;