@rust-nostr/nostr-sdk
Version:
Nostr protocol implementation, Relay, RelayPool, high-level client library, NWC client and more.
979 lines • 71.5 kB
TypeScript
/* tslint:disable */ /* eslint-disable */ export const memory: WebAssembly.Memory; export const __wbg_aborthandle_free: (a: number, b: number) => void; export const aborthandle_abort: (a: number) => void; export const aborthandle_is_aborted: (a: number) => number; export const __wbg_clientbuilder_free: (a: number, b: number) => void; export const clientbuilder_new: () => number; export const clientbuilder_signer: (a: number, b: number) => number; export const clientbuilder_database: (a: number, b: number) => number; export const clientbuilder_gossip: (a: number, b: number) => number; export const clientbuilder_admitPolicy: (a: number, b: any) => number; export const clientbuilder_opts: (a: number, b: number) => number; export const clientbuilder_build: (a: number) => number; export const __wbg_gossiprelaylimits_free: (a: number, b: number) => void; export const __wbg_get_gossiprelaylimits_read_relays_per_user: (a: number) => number; export const __wbg_set_gossiprelaylimits_read_relays_per_user: (a: number, b: number) => void; export const __wbg_get_gossiprelaylimits_write_relays_per_user: (a: number) => number; export const __wbg_set_gossiprelaylimits_write_relays_per_user: (a: number, b: number) => void; export const __wbg_get_gossiprelaylimits_hint_relays_per_user: (a: number) => number; export const __wbg_set_gossiprelaylimits_hint_relays_per_user: (a: number, b: number) => void; export const __wbg_get_gossiprelaylimits_most_used_relays_per_user: (a: number) => number; export const __wbg_set_gossiprelaylimits_most_used_relays_per_user: (a: number, b: number) => void; export const __wbg_get_gossiprelaylimits_nip17_relays: (a: number) => number; export const __wbg_set_gossiprelaylimits_nip17_relays: (a: number, b: number) => void; export const __wbg_gossipoptions_free: (a: number, b: number) => void; export const gossipoptions_limits: (a: number, b: number) => number; export const __wbg_clientoptions_free: (a: number, b: number) => void; export const clientoptions_new: () => number; export const clientoptions_autoconnect: (a: number, b: number) => number; export const clientoptions_automaticAuthentication: (a: number, b: number) => number; export const clientoptions_relayLimits: (a: number, b: number) => number; export const clientoptions_gossip: (a: number, b: number) => number; export const __wbg_output_free: (a: number, b: number) => void; export const __wbg_get_output_failed: (a: number, b: number) => void; export const __wbg_set_output_failed: (a: number, b: number, c: number) => void; export const __wbg_sendeventoutput_free: (a: number, b: number) => void; export const __wbg_get_sendeventoutput_id: (a: number) => number; export const __wbg_set_sendeventoutput_id: (a: number, b: number) => void; export const __wbg_subscribeoutput_free: (a: number, b: number) => void; export const __wbg_get_subscribeoutput_failed: (a: number, b: number) => void; export const __wbg_set_subscribeoutput_failed: (a: number, b: number, c: number) => void; export const __wbg_reconciliationoutput_free: (a: number, b: number) => void; export const __wbg_get_reconciliationoutput_report: (a: number) => number; export const __wbg_set_reconciliationoutput_report: (a: number, b: number) => void; export const __wbg_get_reconciliationoutput_success: (a: number, b: number) => void; export const __wbg_set_reconciliationoutput_success: (a: number, b: number, c: number) => void; export const __wbg_get_reconciliationoutput_failed: (a: number, b: number) => void; export const __wbg_set_reconciliationoutput_failed: (a: number, b: number, c: number) => void; export const __wbg_client_free: (a: number, b: number) => void; export const client_new: (a: number) => number; export const client_builder: () => number; export const client_automaticAuthentication: (a: number, b: number) => void; export const client_signer: (a: number) => any; export const client_database: (a: number) => number; export const client_shutdown: (a: number) => any; export const client_relays: (a: number) => any; export const client_relay: (a: number, b: number, c: number) => any; export const client_addRelay: (a: number, b: number, c: number) => any; export const client_addRelayWithOpts: (a: number, b: number, c: number, d: number) => any; export const client_addDiscoveryRelay: (a: number, b: number, c: number) => any; export const client_addReadRelay: (a: number, b: number, c: number) => any; export const client_addWriteRelay: (a: number, b: number, c: number) => any; export const client_removeRelay: (a: number, b: number, c: number) => any; export const client_forceRemoveRelay: (a: number, b: number, c: number) => any; export const client_removeAllRelays: (a: number) => any; export const client_forceRemoveAllRelays: (a: number) => any; export const client_connectRelay: (a: number, b: number, c: number) => any; export const client_disconnectRelay: (a: number, b: number, c: number) => any; export const client_connect: (a: number) => any; export const client_waitForConnection: (a: number, b: number) => any; export const client_tryConnect: (a: number, b: number) => any; export const client_disconnect: (a: number) => any; export const client_subscribe: (a: number, b: number, c: number) => any; export const client_subscribeWithId: (a: number, b: number, c: number, d: number, e: number) => any; export const client_subscribeTo: (a: number, b: number, c: number, d: number, e: number) => any; export const client_subscribeWithIdTo: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any; export const client_unsubscribe: (a: number, b: number, c: number) => any; export const client_unsubscribeAll: (a: number) => any; export const client_sync: (a: number, b: number, c: number) => any; export const client_fetchEvents: (a: number, b: number, c: number) => any; export const client_fetchEventsFrom: (a: number, b: number, c: number, d: number, e: number) => any; export const client_fetchCombinedEvents: (a: number, b: number, c: number) => any; export const client_sendMsgTo: (a: number, b: number, c: number, d: number) => any; export const client_sendEvent: (a: number, b: number) => any; export const client_sendEventTo: (a: number, b: number, c: number, d: number) => any; export const client_signEventBuilder: (a: number, b: number) => any; export const client_sendEventBuilder: (a: number, b: number) => any; export const client_sendEventBuilderTo: (a: number, b: number, c: number, d: number) => any; export const client_fetchMetadata: (a: number, b: number, c: number) => any; export const client_setMetadata: (a: number, b: number) => any; export const client_sendPrivateMsg: (a: number, b: number, c: number, d: number, e: number, f: number) => any; export const client_sendPrivateMsgTo: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any; export const client_giftWrap: (a: number, b: number, c: number, d: number, e: number) => any; export const client_giftWrapTo: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any; export const client_unwrapGiftWrap: (a: number, b: number) => any; export const client_handleNotifications: (a: number, b: number, c: any) => void; export const __wbg_nostrconnect_free: (a: number, b: number) => void; export const nostrconnect_new: (a: number, b: number, c: number, d: number) => void; export const nostrconnect_relays: (a: number) => any; export const nostrconnect_bunkerUri: (a: number) => any; export const __wbg_events_free: (a: number, b: number) => void; export const events_len: (a: number) => bigint; export const events_isEmpty: (a: number) => number; export const events_contains: (a: number, b: number) => number; export const events_merge: (a: number, b: number) => number; export const events_first: (a: number) => number; export const events_forEach: (a: number, b: any) => void; export const events_toVec: (a: number, b: number) => void; export const __wbg_nostrdatabase_free: (a: number, b: number) => void; export const nostrdatabase_indexeddb: (a: number, b: number) => any; export const nostrdatabase_indexeddbBounded: (a: number, b: number, c: bigint) => any; export const nostrdatabase_save_event: (a: number, b: number) => any; export const nostrdatabase_eventById: (a: number, b: number) => any; export const nostrdatabase_count: (a: number, b: number) => any; export const nostrdatabase_query: (a: number, b: number) => any; export const nostrdatabase_wipe: (a: number) => any; export const nostrdatabase_metadata: (a: number, b: number) => any; export const __wbg_duration_free: (a: number, b: number) => void; export const duration_fromSecs: (a: number) => number; export const duration_fromMillis: (a: bigint) => number; export const duration_asSecs: (a: number) => number; export const duration_asMillis: (a: number) => number; export const __wbg_nostrgossip_free: (a: number, b: number) => void; export const nostrgossip_inmemory: () => number; export const __wbg_loglevel_free: (a: number, b: number) => void; export const loglevel_trace: () => number; export const loglevel_debug: () => number; export const loglevel_info: () => number; export const loglevel_warn: () => number; export const loglevel_error: () => number; export const initLogger: (a: number, b: number) => void; export const __wbg_nostrwalletconnectoptions_free: (a: number, b: number) => void; export const nostrwalletconnectoptions_new: () => number; export const nostrwalletconnectoptions_timeout: (a: number, b: number) => number; export const __wbg_nwc_free: (a: number, b: number) => void; export const nwc_new: (a: number) => number; export const nwc_withOpts: (a: number, b: number) => number; export const nwc_payInvoice: (a: number, b: number) => any; export const nwc_payKeysend: (a: number, b: number) => any; export const nwc_makeInvoice: (a: number, b: number) => any; export const nwc_lookupInvoice: (a: number, b: number) => any; export const nwc_listTransactions: (a: number, b: number) => any; export const nwc_getBalance: (a: number) => any; export const nwc_getInfo: (a: number) => any; export const __wbg_eventbuilder_free: (a: number, b: number) => void; export const eventbuilder_new: (a: number, b: number, c: number) => number; export const eventbuilder_tags: (a: number, b: number, c: number) => number; export const eventbuilder_customCreatedAt: (a: number, b: number) => number; export const eventbuilder_pow: (a: number, b: number) => number; export const eventbuilder_allow_self_tagging: (a: number) => number; export const eventbuilder_dedup_tags: (a: number) => number; export const eventbuilder_sign: (a: number, b: number) => any; export const eventbuilder_signWithKeys: (a: number, b: number, c: number) => void; export const eventbuilder_build: (a: number, b: number) => number; export const eventbuilder_metadata: (a: number) => number; export const eventbuilder_relayList: (a: number, b: number, c: number) => void; export const eventbuilder_textNote: (a: number, b: number) => number; export const eventbuilder_textNoteReply: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; export const eventbuilder_comment: (a: number, b: number, c: number, d: number, e: number) => void; export const eventbuilder_longFormTextNote: (a: number, b: number) => number; export const eventbuilder_contactList: (a: number, b: number) => number; export const eventbuilder_repost: (a: number, b: number, c: number, d: number) => void; export const eventbuilder_delete: (a: number) => number; export const eventbuilder_reaction: (a: number, b: number, c: number) => number; export const eventbuilder_channel: (a: number) => number; export const eventbuilder_channelMetadata: (a: number, b: number, c: number, d: number, e: number) => void; export const eventbuilder_channelMsg: (a: number, b: number, c: number, d: number, e: number, f: number) => void; export const eventbuilder_hideChannelMsg: (a: number, b: number, c: number) => number; export const eventbuilder_muteChannelUser: (a: number, b: number, c: number) => number; export const eventbuilder_auth: (a: number, b: number, c: number, d: number, e: number) => void; export const eventbuilder_liveEvent: (a: number) => number; export const eventbuilder_liveEventMsg: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void; export const eventbuilder_report: (a: number, b: number, c: number, d: number) => number; export const eventbuilder_publicZapRequest: (a: number) => number; export const eventbuilder_zapReceipt: (a: number, b: number, c: number, d: number, e: number) => number; export const eventbuilder_defineBadge: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void; export const eventbuilder_awardBadge: (a: number, b: number, c: number, d: number) => void; export const eventbuilder_profileBadges: (a: number, b: number, c: number, d: number, e: number, f: number) => void; export const eventbuilder_jobRequest: (a: number, b: number) => void; export const eventbuilder_jobResult: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; export const eventbuilder_jobFeedback: (a: number) => number; export const eventbuilder_fileMetadata: (a: number, b: number, c: number) => number; export const eventbuilder_httpAuth: (a: number) => number; export const eventbuilder_stallData: (a: number) => number; export const eventbuilder_productData: (a: number) => number; export const eventbuilder_seal: (a: number, b: number, c: number) => any; export const eventbuilder_giftWrapFromSeal: (a: number, b: number, c: number, d: number, e: number) => void; export const eventbuilder_giftWrap: (a: number, b: number, c: number, d: number, e: number) => any; export const eventbuilder_privateMsgRumor: (a: number, b: number, c: number) => number; export const eventbuilder_privateMsg: (a: number, b: number, c: number, d: number, e: number, f: number) => any; export const eventbuilder_muteList: (a: number) => number; export const eventbuilder_pinnedNotes: (a: number, b: number) => number; export const eventbuilder_bookmarks: (a: number, b: number) => void; export const eventbuilder_communities: (a: number, b: number) => number; export const eventbuilder_publicChats: (a: number, b: number) => number; export const eventbuilder_blockedRelays: (a: number, b: number) => number; export const eventbuilder_searchRelays: (a: number, b: number) => number; export const eventbuilder_interests: (a: number) => number; export const eventbuilder_emojis: (a: number) => number; export const eventbuilder_followSet: (a: number, b: number, c: number, d: number) => number; export const eventbuilder_relaySet: (a: number, b: number, c: number, d: number) => number; export const eventbuilder_bookmarksSet: (a: number, b: number, c: number, d: number) => void; export const eventbuilder_articlesCurationSet: (a: number, b: number, c: number) => number; export const eventbuilder_videosCurationSet: (a: number, b: number, c: number, d: number) => number; export const eventbuilder_interestSet: (a: number, b: number, c: number, d: number) => number; export const eventbuilder_emojiSet: (a: number, b: number, c: number, d: number) => number; export const eventbuilder_label: (a: number, b: number, c: number, d: number) => number; export const eventbuilder_gitRepositoryAnnouncement: (a: number, b: number) => void; export const eventbuilder_gitIssue: (a: number, b: number) => void; export const __wbg_eventid_free: (a: number, b: number) => void; export const eventid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number; export const eventid_parse: (a: number, b: number, c: number) => void; export const eventid_fromSlice: (a: number, b: number, c: number) => void; export const eventid_asBytes: (a: number, b: number) => void; export const eventid_toHex: (a: number, b: number) => void; export const eventid_toBech32: (a: number, b: number) => void; export const eventid_toNostrUri: (a: number, b: number) => void; export const __wbg_kind_free: (a: number, b: number) => void; export const kind_new: (a: number) => number; export const kind_fromStd: (a: number) => number; export const kind_asU16: (a: number) => number; export const kind_asStd: (a: number) => number; export const kind_toString: (a: number, b: number) => void; export const kind_isRegular: (a: number) => number; export const kind_isReplaceable: (a: number) => number; export const kind_isEphemeral: (a: number) => number; export const kind_isAddressable: (a: number) => number; export const kind_isJobRequest: (a: number) => number; export const kind_isJobResult: (a: number) => number; export const __wbg_tags_free: (a: number, b: number) => void; export const tags_fromList: (a: number, b: number) => number; export const tags_parse: (a: number, b: number, c: number) => void; export const tags_len: (a: number) => bigint; export const tags_isEmpty: (a: number) => number; export const tags_first: (a: number) => number; export const tags_last: (a: number) => number; export const tags_get: (a: number, b: bigint) => number; export const tags_find: (a: number, b: number, c: number) => number; export const tags_filter: (a: number, b: number, c: number, d: number) => void; export const tags_asVec: (a: number, b: number) => void; export const tags_toVec: (a: number, b: number) => void; export const tags_identifier: (a: number, b: number) => void; export const tags_expiration: (a: number) => number; export const tags_publicKeys: (a: number, b: number) => void; export const tags_eventIds: (a: number, b: number) => void; export const tags_coordinates: (a: number, b: number) => void; export const tags_hashtags: (a: number, b: number) => void; export const __wbg_tag_free: (a: number, b: number) => void; export const tag_parse: (a: number, b: number, c: number) => void; export const tag_kind: (a: number, b: number) => void; export const tag_content: (a: number, b: number) => void; export const tag_singleLetterTag: (a: number) => number; export const tag_len: (a: number) => bigint; export const tag_asVec: (a: number, b: number) => void; export const tag_toVec: (a: number, b: number) => void; export const tag_event: (a: number) => number; export const tag_publicKey: (a: number) => number; export const tag_identifier: (a: number, b: number) => number; export const tag_coordinate: (a: number, b: number, c: number) => number; export const tag_pow: (a: bigint, b: number) => number; export const tag_client: (a: number, b: number) => number; export const tag_expiration: (a: number) => number; export const tag_eventReport: (a: number, b: number) => number; export const tag_publicKeyReport: (a: number, b: number) => number; export const tag_relayMetadata: (a: number, b: number, c: number, d: number) => void; export const tag_hashtag: (a: number, b: number) => number; export const tag_reference: (a: number, b: number) => number; export const tag_title: (a: number, b: number) => number; export const tag_image: (a: number, b: number, c: number, d: number) => void; export const tag_description: (a: number, b: number) => number; export const tag_protected: () => number; export const tag_alt: (a: number, b: number) => number; export const tag_isRoot: (a: number) => number; export const tag_isReply: (a: number) => number; export const tag_isProtected: (a: number) => number; export const __wbg_unsignedevent_free: (a: number, b: number) => void; export const unsignedevent_id: (a: number) => number; export const unsignedevent_pubkey: (a: number) => number; export const unsignedevent_createdAt: (a: number) => number; export const unsignedevent_kind: (a: number) => number; export const unsignedevent_tags: (a: number, b: number) => void; export const unsignedevent_content: (a: number, b: number) => void; export const unsignedevent_fromJson: (a: number, b: number, c: number) => void; export const unsignedevent_asJson: (a: number, b: number) => void; export const unsignedevent_asPrettyJson: (a: number, b: number) => void; export const unsignedevent_sign: (a: number, b: number) => any; export const unsignedevent_signWithKeys: (a: number, b: number, c: number) => void; export const unsignedevent_addSignature: (a: number, b: number, c: number, d: number) => void; export const __wbg_event_free: (a: number, b: number) => void; export const event_id: (a: number) => number; export const event_author: (a: number) => number; export const event_createdAt: (a: number) => number; export const event_kind: (a: number) => number; export const event_tags: (a: number) => number; export const event_content: (a: number, b: number) => void; export const event_signature: (a: number, b: number) => void; export const event_verify: (a: number) => number; export const event_verifyId: (a: number) => number; export const event_verifySignature: (a: number) => number; export const event_checkPow: (a: number, b: number) => number; export const event_isExpired: (a: number) => number; export const event_isExpiredAt: (a: number, b: number) => number; export const event_isProtected: (a: number) => number; export const event_fromJson: (a: number, b: number, c: number) => void; export const event_asJson: (a: number, b: number) => void; export const event_asPrettyJson: (a: number, b: number) => void; export const __wbg_singlelettertag_free: (a: number, b: number) => void; export const singlelettertag_lowercase: (a: number) => number; export const singlelettertag_uppercase: (a: number) => number; export const singlelettertag_isLowercase: (a: number) => number; export const singlelettertag_isUppercase: (a: number) => number; export const __wbg_subscriptionid_free: (a: number, b: number) => void; export const subscriptionid_new: (a: number, b: number) => number; export const subscriptionid_generate: () => number; export const subscriptionid_get: (a: number, b: number) => void; export const __wbg_filter_free: (a: number, b: number) => void; export const filter_new: () => number; export const filter_fromJson: (a: number, b: number, c: number) => void; export const filter_asJson: (a: number, b: number) => void; export const filter_asPrettyJson: (a: number, b: number) => void; export const filter_id: (a: number, b: number) => number; export const filter_ids: (a: number, b: number, c: number) => number; export const filter_removeIds: (a: number, b: number, c: number) => number; export const filter_author: (a: number, b: number) => number; export const filter_authors: (a: number, b: number, c: number) => number; export const filter_removeAuthors: (a: number, b: number, c: number) => number; export const filter_kind: (a: number, b: number) => number; export const filter_kinds: (a: number, b: number, c: number) => number; export const filter_removeKinds: (a: number, b: number, c: number) => number; export const filter_event: (a: number, b: number) => number; export const filter_events: (a: number, b: number, c: number) => number; export const filter_removeEvents: (a: number, b: number, c: number) => number; export const filter_pubkey: (a: number, b: number) => number; export const filter_pubkeys: (a: number, b: number, c: number) => number; export const filter_removePubkeys: (a: number, b: number, c: number) => number; export const filter_hashtag: (a: number, b: number, c: number) => number; export const filter_hashtags: (a: number, b: number, c: number) => number; export const filter_removeHashtags: (a: number, b: number, c: number) => number; export const filter_reference: (a: number, b: number, c: number) => number; export const filter_references: (a: number, b: number, c: number) => number; export const filter_removeReferences: (a: number, b: number, c: number) => number; export const filter_identifier: (a: number, b: number, c: number) => number; export const filter_identifiers: (a: number, b: number, c: number) => number; export const filter_removeIdentifiers: (a: number, b: number, c: number) => number; export const filter_coordinate: (a: number, b: number) => number; export const filter_coordinates: (a: number, b: number, c: number) => number; export const filter_removeCoordinates: (a: number, b: number, c: number) => number; export const filter_search: (a: number, b: number, c: number) => number; export const filter_removeSearch: (a: number) => number; export const filter_since: (a: number, b: number) => number; export const filter_removeSince: (a: number) => number; export const filter_until: (a: number, b: number) => number; export const filter_removeUntil: (a: number) => number; export const filter_limit: (a: number, b: number) => number; export const filter_removeLimit: (a: number) => number; export const filter_customTag: (a: number, b: number, c: number, d: number) => number; export const filter_customTags: (a: number, b: number, c: number, d: number) => number; export const filter_removeCustomTags: (a: number, b: number, c: number, d: number) => number; export const filter_isEmpty: (a: number) => number; export const filter_matchEvent: (a: number, b: number) => number; export const publickey_parse: (a: number, b: number, c: number) => void; export const publickey_toHex: (a: number, b: number) => void; export const publickey_toBech32: (a: number, b: number) => void; export const publickey_toNostrUri: (a: number, b: number) => void; export const __wbg_secretkey_free: (a: number, b: number) => void; export const secretkey_parse: (a: number, b: number, c: number) => void; export const secretkey_generate: () => number; export const secretkey_toHex: (a: number, b: number) => void; export const secretkey_toBech32: (a: number, b: number) => void; export const secretkey_encrypt: (a: number, b: number, c: number, d: number) => void; export const __wbg_keys_free: (a: number, b: number) => void; export const keys_new: (a: number) => number; export const keys_parse: (a: number, b: number, c: number) => void; export const keys_generate: () => number; export const keys_fromMnemonic: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void; export const keys_publicKey: (a: number) => number; export const keys_secretKey: (a: number) => number; export const __wbg_clientmessage_free: (a: number, b: number) => void; export const clientmessage_event: (a: number) => number; export const clientmessage_req: (a: number, b: number, c: number) => number; export const clientmessage_count: (a: number, b: number, c: number) => number; export const clientmessage_close: (a: number, b: number) => number; export const clientmessage_auth: (a: number) => number; export const clientmessage_fromJson: (a: number, b: number, c: number) => void; export const clientmessage_asJson: (a: number, b: number) => void; export const __wbg_relaymessage_free: (a: number, b: number) => void; export const relaymessage_event: (a: number, b: number, c: number) => number; export const relaymessage_notice: (a: number, b: number) => number; export const relaymessage_closed: (a: number, b: number, c: number, d: number) => number; export const relaymessage_eose: (a: number, b: number) => number; export const relaymessage_ok: (a: number, b: number, c: number, d: number) => number; export const relaymessage_auth: (a: number, b: number) => number; export const relaymessage_count: (a: number, b: number, c: number) => number; export const relaymessage_fromJson: (a: number, b: number, c: number) => void; export const relaymessage_asJson: (a: number, b: number) => void; export const __wbg_coordinate_free: (a: number, b: number) => void; export const coordinate_new: (a: number, b: number, c: number, d: number) => number; export const coordinate_parse: (a: number, b: number, c: number) => void; export const coordinate_kind: (a: number) => number; export const coordinate_publicKey: (a: number) => number; export const coordinate_identifier: (a: number, b: number) => void; export const coordinate_verify: (a: number) => number; export const coordinate_toString: (a: number, b: number) => void; export const __wbg_metadata_free: (a: number, b: number) => void; export const metadata_new: () => number; export const metadata_fromJson: (a: number, b: number, c: number) => void; export const metadata_asJson: (a: number, b: number) => void; export const metadata_asPrettyJson: (a: number, b: number) => void; export const metadata_name: (a: number, b: number, c: number) => number; export const metadata_getName: (a: number, b: number) => void; export const metadata_displayName: (a: number, b: number, c: number) => number; export const metadata_getDisplayName: (a: number, b: number) => void; export const metadata_about: (a: number, b: number, c: number) => number; export const metadata_getAbout: (a: number, b: number) => void; export const metadata_website: (a: number, b: number, c: number, d: number) => void; export const metadata_getWebsite: (a: number, b: number) => void; export const metadata_picture: (a: number, b: number, c: number, d: number) => void; export const metadata_getPicture: (a: number, b: number) => void; export const metadata_banner: (a: number, b: number, c: number, d: number) => void; export const metadata_getBanner: (a: number, b: number) => void; export const metadata_nip05: (a: number, b: number, c: number) => number; export const metadata_getNip05: (a: number, b: number) => void; export const metadata_lud06: (a: number, b: number, c: number) => number; export const metadata_getLud06: (a: number, b: number) => void; export const metadata_lud16: (a: number, b: number, c: number) => number; export const metadata_getLud16: (a: number, b: number) => void; export const nip04Encrypt: (a: number, b: number, c: number, d: number, e: number) => void; export const nip04Decrypt: (a: number, b: number, c: number, d: number, e: number) => void; export const __wbg_browsersigner_free: (a: number, b: number) => void; export const browsersigner_new: (a: number) => void; export const browsersigner_getPublicKey: (a: number) => any; export const browsersigner_signEvent: (a: number, b: number) => any; export const browsersigner_nip04Encrypt: (a: number, b: number, c: number, d: number) => any; export const browsersigner_nip04Decrypt: (a: number, b: number, c: number, d: number) => any; export const browsersigner_nip44Encrypt: (a: number, b: number, c: number, d: number) => any; export const browsersigner_nip44Decrypt: (a: number, b: number, c: number, d: number) => any; export const __wbg_eventdeletionrequest_free: (a: number, b: number) => void; export const __wbg_get_eventdeletionrequest_reason: (a: number, b: number) => void; export const __wbg_set_eventdeletionrequest_reason: (a: number, b: number, c: number) => void; export const eventdeletionrequest_new: () => number; export const __wbg_shippingcost_free: (a: number, b: number) => void; export const shippingcost_id: (a: number, b: number) => void; export const shippingcost_cost: (a: number) => number; export const __wbg_shippingmethod_free: (a: number, b: number) => void; export const shippingmethod_new: (a: number, b: number, c: number) => number; export const shippingmethod_getShippingCost: (a: number) => number; export const shippingmethod_id: (a: number, b: number) => void; export const shippingmethod_name: (a: number, b: number) => void; export const shippingmethod_cost: (a: number) => number; export const shippingmethod_regions: (a: number, b: number) => void; export const __wbg_stalldata_free: (a: number, b: number) => void; export const stalldata_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number; export const stalldata_id: (a: number, b: number) => void; export const stalldata_name: (a: number, b: number) => void; export const stalldata_description: (a: number, b: number) => void; export const stalldata_currency: (a: number, b: number) => void; export const stalldata_shipping: (a: number, b: number) => void; export const __wbg_productdata_free: (a: number, b: number) => void; export const productdata_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number; export const productdata_id: (a: number, b: number) => void; export const productdata_stallId: (a: number, b: number) => void; export const productdata_name: (a: number, b: number) => void; export const productdata_description: (a: number, b: number) => void; export const productdata_images: (a: number, b: number) => void; export const productdata_currency: (a: number, b: number) => void; export const productdata_price: (a: number) => number; export const productdata_quantity: (a: number) => number; export const productdata_specs: (a: number, b: number) => void; export const productdata_shipping: (a: number, b: number) => void; export const productdata_categories: (a: number, b: number) => void; export const __wbg_nip19event_free: (a: number, b: number) => void; export const nip19event_new: (a: number, b: number, c: number, d: number, e: number) => number; export const nip19event_fromEvent: (a: number) => number; export const nip19event_fromBech32: (a: number, b: number, c: number) => void; export const nip19event_fromNostrUri: (a: number, b: number, c: number) => void; export const nip19event_toBech32: (a: number, b: number) => void; export const nip19event_toNostrUri: (a: number, b: number) => void; export const nip19event_eventId: (a: number) => number; export const nip19event_author: (a: number) => number; export const nip19event_kind: (a: number) => number; export const nip19event_relays: (a: number, b: number) => void; export const __wbg_nip19profile_free: (a: number, b: number) => void; export const nip19profile_new: (a: number, b: number, c: number, d: number) => void; export const nip19profile_fromBech32: (a: number, b: number, c: number) => void; export const nip19profile_fromNostrUri: (a: number, b: number, c: number) => void; export const nip19profile_toBech32: (a: number, b: number) => void; export const nip19profile_toNostrUri: (a: number, b: number) => void; export const nip19profile_publicKey: (a: number) => number; export const nip19profile_relays: (a: number, b: number) => void; export const __wbg_nip19coordinate_free: (a: number, b: number) => void; export const nip19coordinate_new: (a: number, b: number, c: number, d: number) => void; export const nip19coordinate_fromBech32: (a: number, b: number, c: number) => void; export const nip19coordinate_fromNostrUri: (a: number, b: number, c: number) => void; export const nip19coordinate_toBech32: (a: number, b: number) => void; export const nip19coordinate_toNostrUri: (a: number, b: number) => void; export const nip19coordinate_coordinate: (a: number) => number; export const nip19coordinate_relays: (a: number, b: number) => void; export const __wbg_gitrepositoryannouncement_free: (a: number, b: number) => void; export const __wbg_get_gitrepositoryannouncement_name: (a: number, b: number) => void; export const __wbg_set_gitrepositoryannouncement_name: (a: number, b: number, c: number) => void; export const __wbg_get_gitrepositoryannouncement_web: (a: number, b: number) => void; export const __wbg_set_gitrepositoryannouncement_web: (a: number, b: number, c: number) => void; export const __wbg_get_gitrepositoryannouncement_euc: (a: number, b: number) => void; export const __wbg_set_gitrepositoryannouncement_euc: (a: number, b: number, c: number) => void; export const __wbg_get_gitrepositoryannouncement_maintainers: (a: number, b: number) => void; export const __wbg_set_gitrepositoryannouncement_maintainers: (a: number, b: number, c: number) => void; export const gitrepositoryannouncement_new: (a: number, b: number) => number; export const __wbg_gitissue_free: (a: number, b: number) => void; export const __wbg_get_gitissue_repository: (a: number) => number; export const __wbg_set_gitissue_repository: (a: number, b: number) => void; export const __wbg_get_gitissue_content: (a: number, b: number) => void; export const __wbg_set_gitissue_content: (a: number, b: number, c: number) => void; export const __wbg_get_gitissue_subject: (a: number, b: number) => void; export const __wbg_set_gitissue_subject: (a: number, b: number, c: number) => void; export const __wbg_get_gitissue_labels: (a: number, b: number) => void; export const __wbg_set_gitissue_labels: (a: number, b: number, c: number) => void; export const gitissue_new: (a: number, b: number, c: number) => number; export const nip44Encrypt: (a: number, b: number, c: number, d: number, e: number, f: number) => void; export const nip44Decrypt: (a: number, b: number, c: number, d: number, e: number) => void; export const __wbg_nostrconnectmetadata_free: (a: number, b: number) => void; export const nostrconnectmetadata_new: (a: number, b: number) => number; export const nostrconnectmetadata_url: (a: number, b: number, c: number, d: number) => void; export const nostrconnectmetadata_description: (a: number, b: number, c: number) => number; export const nostrconnectmetadata_icons: (a: number, b: number, c: number) => number; export const nostrconnectmetadata_asJson: (a: number, b: number) => void; export const __wbg_nostrconnecturi_free: (a: number, b: number) => void; export const nostrconnecturi_parse: (a: number, b: number, c: number) => void; export const nostrconnecturi_asString: (a: number, b: number) => void; export const __wbg_payinvoicerequest_free: (a: number, b: number) => void; export const __wbg_get_payinvoicerequest_id: (a: number, b: number) => void; export const __wbg_set_payinvoicerequest_id: (a: number, b: number, c: number) => void; export const __wbg_get_payinvoicerequest_invoice: (a: number, b: number) => void; export const __wbg_set_payinvoicerequest_invoice: (a: number, b: number, c: number) => void; export const payinvoicerequest_new: (a: number, b: number) => number; export const __wbg_multipayinvoicerequest_free: (a: number, b: number) => void; export const __wbg_get_multipayinvoicerequest_invoices: (a: number, b: number) => void; export const __wbg_set_multipayinvoicerequest_invoices: (a: number, b: number, c: number) => void; export const multipayinvoicerequest_new: (a: number, b: number) => number; export const __wbg_keysendtlvrecord_free: (a: number, b: number) => void; export const __wbg_get_keysendtlvrecord_value: (a: number, b: number) => void; export const __wbg_set_keysendtlvrecord_value: (a: number, b: number, c: number) => void; export const keysendtlvrecord_new: (a: bigint, b: number, c: number) => number; export const __wbg_paykeysendrequest_free: (a: number, b: number) => void; export const __wbg_get_paykeysendrequest_id: (a: number, b: number) => void; export const __wbg_set_paykeysendrequest_id: (a: number, b: number, c: number) => void; export const __wbg_get_paykeysendrequest_preimage: (a: number, b: number) => void; export const __wbg_set_paykeysendrequest_preimage: (a: number, b: number, c: number) => void; export const __wbg_get_paykeysendrequest_tlv_records: (a: number, b: number) => void; export const __wbg_set_paykeysendrequest_tlv_records: (a: number, b: number, c: number) => void; export const paykeysendrequest_new: (a: number, b: number, c: bigint) => number; export const __wbg_multipaykeysendrequest_free: (a: number, b: number) => void; export const __wbg_get_multipaykeysendrequest_keysends: (a: number, b: number) => void; export const __wbg_set_multipaykeysendrequest_keysends: (a: number, b: number, c: number) => void; export const multipaykeysendrequest_new: (a: number, b: number) => number; export const __wbg_makeinvoicerequest_free: (a: number, b: number) => void; export const __wbg_get_makeinvoicerequest_amount: (a: number) => bigint; export const __wbg_set_makeinvoicerequest_amount: (a: number, b: bigint) => void; export const __wbg_get_makeinvoicerequest_description: (a: number, b: number) => void; export const __wbg_set_makeinvoicerequest_description: (a: number, b: number, c: number) => void; export const __wbg_get_makeinvoicerequest_description_hash: (a: number, b: number) => void; export const __wbg_set_makeinvoicerequest_description_hash: (a: number, b: number, c: number) => void; export const __wbg_get_makeinvoicerequest_expiry: (a: number, b: number) => void; export const __wbg_set_makeinvoicerequest_expiry: (a: number, b: number, c: bigint) => void; export const makeinvoicerequest_new: (a: bigint) => number; export const __wbg_lookupinvoicerequest_free: (a: number, b: number) => void; export const __wbg_get_lookupinvoicerequest_payment_hash: (a: number, b: number) => void; export const __wbg_set_lookupinvoicerequest_payment_hash: (a: number, b: number, c: number) => void; export const __wbg_get_lookupinvoicerequest_invoice: (a: number, b: number) => void; export const __wbg_set_lookupinvoicerequest_invoice: (a: number, b: number, c: number) => void; export const lookupinvoicerequest_new: () => number; export const __wbg_listtransactionsrequest_free: (a: number, b: number) => void; export const __wbg_get_listtransactionsrequest_from: (a: number) => number; export const __wbg_set_listtransactionsrequest_from: (a: number, b: number) => void; export const __wbg_get_listtransactionsrequest_until: (a: number) => number; export const __wbg_set_listtransactionsrequest_until: (a: number, b: number) => void; export const __wbg_get_listtransactionsrequest_limit: (a: number, b: number) => void; export const __wbg_set_listtransactionsrequest_limit: (a: number, b: number, c: bigint) => void; export const __wbg_get_listtransactionsrequest_offset: (a: number, b: number) => void; export const __wbg_set_listtransactionsrequest_offset: (a: number, b: number, c: bigint) => void; export const __wbg_get_listtransactionsrequest_unpaid: (a: number) => number; export const __wbg_set_listtransactionsrequest_unpaid: (a: number, b: number) => void; export const __wbg_get_listtransactionsrequest_transaction_type: (a: number) => number; export const __wbg_set_listtransactionsrequest_transaction_type: (a: number, b: number) => void; export const listtransactionsrequest_new: () => number; export const __wbg_payinvoiceresponse_free: (a: number, b: number) => void; export const __wbg_makeinvoiceresponse_free: (a: number, b: number) => void; export const __wbg_get_makeinvoiceresponse_invoice: (a: number, b: number) => void; export const __wbg_set_makeinvoiceresponse_invoice: (a: number, b: number, c: number) => void; export const __wbg_get_makeinvoiceresponse_payment_hash: (a: number, b: number) => void; export const __wbg_set_makeinvoiceresponse_payment_hash: (a: number, b: number, c: number) => void; export const __wbg_get_makeinvoiceresponse_description: (a: number, b: number) => void; export const __wbg_set_makeinvoiceresponse_description: (a: number, b: number, c: number) => void; export const __wbg_get_makeinvoiceresponse_description_hash: (a: number, b: number) => void; export const __wbg_set_makeinvoiceresponse_description_hash: (a: number, b: number, c: number) => void; export const __wbg_get_makeinvoiceresponse_preimage: (a: number, b: number) => void; export const __wbg_set_makeinvoiceresponse_preimage: (a: number, b: number, c: number) => void; export const __wbg_get_makeinvoiceresponse_created_at: (a: number) => number; export const __wbg_get_makeinvoiceresponse_expires_at: (a: number) => number; export const __wbg_set_makeinvoiceresponse_expires_at: (a: number, b: number) => void; export const __wbg_lookupinvoiceresponse_free: (a: number, b: number) => void; export const __wbg_get_lookupinvoiceresponse_transaction_type: (a: number) => number; export const __wbg_set_lookupinvoiceresponse_transaction_type: (a: number, b: number) => void; export const __wbg_get_lookupinvoiceresponse_state: (a: number) => number; export const __wbg_set_lookupinvoiceresponse_state: (a: number, b: number) => void; export const __wbg_get_lookupinvoiceresponse_invoice: (a: number, b: number) => void; export const __wbg_set_lookupinvoiceresponse_invoice: (a: number, b: number, c: number) => void; export const __wbg_get_lookupinvoiceresponse_description: (a: number, b: number) => void; export const __wbg_set_lookupinvoiceresponse_description: (a: number, b: number, c: number) => void; export const __wbg_get_lookupinvoiceresponse_description_hash: (a: number, b: number) => void; export const __wbg_set_lookupinvoiceresponse_description_hash: (a: number, b: number, c: number) => void; export const __wbg_get_lookupinvoiceresponse_preimage: (a: number, b: number) => void; export const __wbg_set_lookupinvoiceresponse_preimage: (a: number, b: number, c: number) => void; export const __wbg_get_lookupinvoiceresponse_payment_hash: (a: number, b: number) => void; export const __wbg_set_lookupinvoiceresponse_payment_hash: (a: number, b: number, c: number) => void; export const __wbg_get_lookupinvoiceresponse_amount: (a: number) => bigint; export const __wbg_set_lookupinvoiceresponse_amount: (a: number, b: bigint) => void; export const __wbg_get_lookupinvoiceresponse_fees_paid: (a: number) => bigint; export const __wbg_set_lookupinvoiceresponse_fees_paid: (a: number, b: bigint) => void; export const __wbg_get_lookupinvoiceresponse_created_at: (a: number) => number; export const __wbg_set_lookupinvoiceresponse_created_at: (a: number, b: number) => void; export const __wbg_getbalanceresponse_free: (a: number, b: number) => void; export const __wbg_get_getbalanceresponse_balance: (a: number) => bigint; export const __wbg_set_getbalanceresponse_balance: (a: number, b: bigint) => void; export const __wbg_getinforesponse_free: (a: number, b: number) => void; export const __wbg_get_getinforesponse_alias: (a: number, b: number) => void; export const __wbg_set_getinforesponse_alias: (a: number, b: number, c: number) => void; export const __wbg_get_getinforesponse_color: (a: number, b: number) => void; export const __wbg_set_getinforesponse_color: (a: number, b: number, c: number) => void; export const __wbg_get_getinforesponse_pubkey: (a: number, b: number) => void; export const __wbg_set_getinforesponse_pubkey: (a: number, b: number, c: number) => void; export const __wbg_get_getinforesponse_network: (a: number, b: number) => void; export const __wbg_set_getinforesponse_network: (a: number, b: number, c: number) => void; export const __wbg_get_getinforesponse_block_height: (a: number) => number; export const __wbg_set_getinforesponse_block_height: (a: number, b: number) => void; export const __wbg_get_getinforesponse_block_hash: (a: number, b: number) => void; export const __wbg_set_getinforesponse_block_hash: (a: number, b: number, c: number) => void; export const __wbg_get_getinforesponse_methods: (a: number, b: number) => void; export const __wbg_set_getinforesponse_methods: (a: number, b: number, c: number) => void; export const __wbg_get_getinforesponse_notifications: (a: number, b: number) => void; export const __wbg_set_getinforesponse_notifications: (a: number, b: number, c: number) => void; export const __wbg_nostrwalletconnecturi_free: (a: number, b: number) => void; export const nostrwalletconnecturi_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; export const nostrwalletconnecturi_parse: (a: number, b: number, c: number) => void; export const nostrwalletconnecturi_publicKey: (a: number) => number; export const nostrwalletconnecturi_relays: (a: number, b: number) => void; export const nostrwalletconnecturi_secret: (a: number) => number; export const nostrwalletconnecturi_lud16: (a: number, b: number) => void; export const nostrwalletconnecturi_asString: (a: number, b: number) => void; export const __wbg_encryptedsecretkey_free: (a: number, b: number) => void; export const encryptedsecretkey_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void; export const encryptedsecretkey_fromBech32: (a: number, b: number, c: number) => void; export const encryptedsecretkey_version: (a: number) => number; export const encryptedsecretkey_keySecurity: (a: number) => number; export const encryptedsecretkey_asSecretKey: (a: number, b: number, c: number, d: number) => void; export const encryptedsecretkey_toBech32: (a: number, b: number) => void; export const __wbg_mutelist_free: (a: number, b: number) => void; export const __wbg_get_mutelist_public_keys: (a: number, b: number) => void; export const __wbg_set_mutelist_public_keys: (a: number, b: number, c: number) => void; export const __wbg_get_mutelist_event_ids: (a: number, b: number) => void; export const __wbg_set_mutelist_event_ids: (a: number, b: number, c: number) => void; export const mutelist_new: () => number; export const __wbg_bookmarks_free: (a: number, b: number) => void; export const __wbg_get_bookmarks_event_ids: (a: number, b: number) => void; export const __wbg_set_bookmarks_event_ids: (a: number, b: number, c: number) => void; export const __wbg_get_bookmarks_coordinate: (a: number, b: number) => void; export const __wbg_set_bookmarks_coordinate: (a: number, b: number, c: number) => void; export const __wbg_get_bookmarks_hashtags: (a: number, b: number) => void; export const __wbg_set_bookmarks_hashtags: (a: number, b: number, c: number) => void; export const __wbg_get_bookmarks_urls: (a: number, b: number) => void; export const __wbg_set_bookmarks_urls: (a: number, b: number, c: number) => void; export const bookmarks_new: () => number; export const __wbg_interests_free: (a: number, b: number) => void; export const __wbg_get_interests_hashtags: (a: number, b: number) => void; export const __wbg_set_interests_hashtags: (a: number, b: number, c: number) => void; export const __wbg_emojiinfo_free: (a: number, b: number) => void; export const emojiinfo_new: (a: number, b: number, c: number, d: number) => number; export const __wbg_emojis_free: (a: number, b: number) => void; export const __wbg_get_emojis_emojis: (a: number, b: number) => void; export const __wbg_set_emojis_emojis: (a: number, b: number, c: number) => void; export const emojis_new: () => number; export const __wbg_articlescuration_free: (a: number, b: number) => void; export const __wbg_get_articlescuration_coordinate: (a: number, b: number) => void; export const __wbg_set_articlescuration_coordinate: (a: number, b: number, c: number) => void; export const __wbg_get_articlescuration_event_ids: (a: number, b: number) => void; export const __wbg_set_articlescuration_event_ids: (a: number, b: number, c: number) => void; export const articlescuration_new: () => number; export const __wbg_image_free: (a: number, b: number) => void; export const __wbg_get_image_url: (a: number, b: number) => void; export const __wbg_set_image_url: (a: number, b: number, c: number) => void; export const __wbg_get_image_dimensions: (a: number) => number; export const __wbg_set_image_dimensions: (a: number, b: number) => void; export const image_new: (a: number, b: number, c: number) => number; export const __wbg_user_free: (a: number, b: number) => void; export const __wbg_get_user_publicKey: (a: number) => number; export const __wbg_set_user_publicKey: (a: number, b: number) => void; export const user_new: (a: number, b: number, c: number) => number; export const __wbg_liveeventstatus_free: (a: number, b: number) => void; export const liveeventstatus_planned: () => number; export const liveeventstatus_live: () => number; export const liveeventstatus_ended: () => number; export const liveeventstatus_custom: (a: number, b: number) => number; export const __wbg_liveeventhost_free: (a: number, b: number) => void; export const liveeventhost_publicKey: (a: number) => number; export const liveeventhost_relayUrl: (a: number, b: number) => void; export const liveeventhost_proof: (a: number, b: number) => void; export const __wbg_liveevent_free: (a: number, b: number) => void; export const liveevent_id: (a: number, b: number) => void; export const liveevent_title: (a: number, b: number) => void; export const liveevent_summary: (a: number, b: number) => void; export const liveevent_image: (a: number) => number; export const liveevent_hashtags: (a: number, b: number) => void; export const liveevent_streaming: (a: number, b: number) => void; export const liveevent_recording: (a: number, b: number) => void; export const liveevent_starts: (a: number) => number; export const liveevent_ends: (a: number) => number; export const liveevent_status: (a: number) => number; export const liveevent_currentPartecipants: (a: number, b: number) => void; export const liveevent_totalPartecipants: (a: number, b: number) => void; export const liveevent_relays: (a: number, b: number) => void; export const liveevent_host: (a: number) => number; export const liveevent_speakers: (a: number, b: number) => void; export const liveevent_participants: (a: number, b: number) => void; export const __wbg_zaprequestdata_free: (a: number, b: number) => void; export const zaprequestdata_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => number; export const zaprequestdata_publicKey: (a: number) => number; export const zaprequestdata_relays: (a: number, b: number) => void; export const zaprequestdata_message: (a: number, b: number) => void; export const zaprequestdata_amount: (a: number, b: number) => void; export const zaprequestdata_lnurl: (a: number, b: number) => void; export const zaprequestdata_eventId: (a: number) => number; export const zaprequestdata_eventCoordinate: (a: number) => number; export const nip57AnonymousZapRequest: (a: number, b: number) => void; export const nip57PrivateZapRequest: (a: number, b: number, c: number) => void; export const nip57DecryptSentPrivateZapMessage: (a: number, b: number, c: number, d: number) => void; export const nip57DecryptReceivedPrivateZapMessage: (a: number, b: number, c: number) => void; export const __wbg_unwrappedgift_free: (a: number, b: number) => void; export const unwrappedgift_fromGiftWrap: (a: number, b: number) => any; export const unwrappedgift_sender: (a: number) => number; export const unwrappedgift_rumor: (a: number) => number; export const __wbg_relaylistitem_free: (a: number, b: number) => void; export const __wbg_get_relaylistitem_metadata: (a: number) => number; export const __wbg_set_relaylistitem_metadata: (a: number, b: number) => void; export const relaylistitem_new: (a: number, b: number, c: number) => number; export const extractRelayList: (a: number, b: number) => void; export const __wbg_jobfeedbackdata_free: (a: number, b: number) => void; export const jobfeedbackdata_new: (a: number, b: number) => number; export const jobfeedbackdata_extra_info: (a: number, b: number, c: number) => number; export const jobfeedbackdata_amount: (a: number, b: bigint, c: number, d: number) => number; export const jobfeedbackdata_payload: (a: number, b: number, c: number) => number; export const __wbg_aes256gcm_free: (a: number, b: number) => void; export const __wbg_get_aes256gcm_key: (a: number, b: number) => void; export const __wbg_set_aes256gcm_key: (a: number, b: number, c: number) => void; export const __wbg_get_aes256gcm_iv: (a: number, b: number) => void; export const __wbg_set_aes256gcm_iv: (a: number, b: number, c: number) => void; export const aes256gcm_new: (a: number, b: number, c: number, d: number) => number; export const __wbg_filemetadata_free: (a: number, b: number) => void; export const filemetadata_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; export const filemetadata_urls: (a: number, b: number) => void; export const filemetadata_mimeType: (a: number, b: number) => void; export const filemetadata_hash: (a: number, b: number) => void; export const filemetadata_aes256Gcm: (a: number) => number; export const filemetadata_size: (a: number, b: number) => void; export const filemetadata_dim: (a: number) => number; export const filemetadata_magnet: (a: number, b: number) => void; export const filemetadata_blurhash: (a: number, b: number) => void; export const __wbg_httpdata_free: (a: number, b: number) => void; export const httpdata_new: (a: number, b: number, c: number, d: number) => void; export const httpdata_urls: (a: number, b: number) => void; export const httpdata_method: (a: number) => number; export const httpdata_payload: (a: number, b: number) => void; export const __wbg_contact_free: (a: number, b: number) => void; export const contact_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void; export const contact_alias: (a: number, b: number) => void; export const contact_publicKey: (a: number) => number; export const contact_relayUrl: (a: number, b: number) => void; export const __wbg_thumbnails_free: (a: number, b: number) => void; export const thumbnails_new: (a: number, b: number, c: number) => number; export const __wbg_imagedimensions_free: (a: number, b: number) => void; export const __wbg_get_imagedimensions_width: (a: number) => bigint; export const __wbg_set_imagedimensions_width: (a: number, b: bigint) => void; export const __wbg_get_imagedimensions_height: (a: number) => bigint; export const __wbg_set_imagedimensions_height: (a: number, b: bigint) => void; export const imagedimensions_new: (a: bigint, b: bigint) => number; export const __wbg_timestamp_free: (a: number, b: number) => void; export const timestamp_now: () => number; export const timestamp_fromSecs: (a: number) => number; export const timestamp_asSecs: (a: number) => number; export const timestamp_toHumanDatetime: (a: number, b: number) => void; export const generateSharedKey: (a: number, b: number, c: number) => void; export const __wbg_relayserviceflags_free: (a: number, b: number) => void; export const relayserviceflags_new: () => number; export const relayserviceflags_default: () => number; export const relayserviceflags_read: () => number; export const relayserviceflags_write: () => number; export const relayserviceflags_ping: () => number; export const relayserviceflags_add: (a: number, b: number) => void; export const relayserviceflags_remove: (a: number, b: number) => void; export const __wbg_atomicrelayserviceflags_free: (a: number, b: number) => void; export const atomicrelayserviceflags_new: (a: number) => number; export const atomicrelayserviceflags_add: (a: number, b: number) => void; export const atomicrelayserviceflags_remove: (a: number, b: number) => void; export const atomicrelayserviceflags_has: (a: number, b: number, c: number) => number; export const atomicrelayserviceflags_has_read: (a: number) => number; export const atomicrelayserviceflags_has_write: (a: number) => number; export const atomicrelayserviceflags_has_ping: (a: number) => number; export const __wbg_relaylimits_free: (a: number, b: number) => void; export const relaylimits_new: () => number; export const relaylimits_disable: () => number; export const relaylimits_messageMaxSize: (a: number, b: number) => number; export const relaylimits_eventMaxSize: (a: number, b: number) => number; export const relaylimits_eventMaxSizePerKind: (a: number, b: number, c: number) => number; export const relaylimits_eventMaxNumTags: (a: number, b: number) => number; export const relaylimits_eventMaxNumTagsPerKind: (a: number, b: number, c: number) => number; export const relayoptions_new: () => number; export const relayoptions_flags: (a: number, b: number) => number; export const relayoptions_read: (a: number, b: number) => number; export const relayoptions_write: (a: number, b: number) => number; export const relayoptions_ping: (a: number, b: number) => number; export const relayoptions_reconnect: (a: number, b: number) => number; export const relayoptions_retry_interval: (a: number, b: number) => number; export const relayoptions_adjust_retry_interval: (a: number, b: number) => number; export const relayoptions_limits: (a: number, b: number) => number; export const __wbg_reqexitpolicy_free: (a: number, b: number) => void; export const reqexitpolicy_exitOnEose: () => number; export const reqexitpolicy_waitForEvents: (a: number) => number; export const reqexitpolicy_waitForEventsAfterEOSE: (a: number) => number; export const reqexitpolicy_waitDurationAfterEOSE: (a: number) => number; export const __wbg_subscribeautocloseoptions_free: (a: number, b: number) => void; export const subscribeautocloseoptions_new: () => number; export const subscribeautocloseoptions_exitPolicy: (a: number, b: number) => number; export const subscribeautocloseoptions_timeout: (a: number, b: number) => number; export const subscribeautocloseoptions_idleTimeout: (a: number, b: number) => number; export const __wbg_subscribeoptions_free: (a: number, b: number) => void; export const subscribeoptions_new: () => number; export const subscribeoptions_close_on: (a: number, b: number) => number; export const __wbg_syncoptions_free: (a: number, b: number) => void; export const syncoptions_new: () => number; export const syncoptions_initialTimeout: (a: number, b: number) => number; export const syncoptions_direction: (a: number, b: number) => number; export const syncoptions_dry_run: (a: number) => number; export const __wbg_reconciliation_free: (a: number, b: number) => void; export const __wbg_get_reconciliation_received: (a: number, b: number) => void; export const __wbg_set_reconciliation_received: (a: number, b: number, c: number) => void; export const __wbg_relay_free: (a: number, b: number) => void; export const relay_url: (a: number, b: number) => void; export const relay_status: (a: number) => number; export const relay_flags: (a: number) => number; export const relay_isConnected: (a: number) => number; export const relay_opts: (a: number) => number; export const relay_queue: (a: number) => bigint; export const relay_connect: (a: number) => void; export const relay_tryConnect: (a: number, b: number) => any; export const relay_disconnect: (a: number) => void; export const relay_ban: (a: number) => void; export const relay_sendMsg: (a: number, b: number, c: number) => void; export const relay_batchMsg: (a: number, b: number, c: number, d: number) => void; export const relay_sendEvent: (a: number, b: number) => any; export const relay_subscribe: (a: number, b: number, c: number) => any; export const relay_subscribeWithId: (a: number, b: number, c: number, d: number, e: number) => any; export const relay_unsubscribe: (a: number, b: number, c: number) => any; export const relay_unsubscribeAll: (a: number) => any; export const relay_fetchEvents: (a: number, b: number, c: number, d: number) => any; export const relay_countEvents: (a: number, b: number, c: number) => any; export const relay_sync: (a: number, b: number, c: number) => any; export const __wbg_nostrsigner_free: (a: number, b: number) => void; export const nostrsigner_keys: (a: number) => number; export const nostrsigner_nip07: (a: number) => number; export const nostrsigner_nip46: (a: number) => number; export const nostrsigner_publicKey: (a: number) => any; export const nostrsigner_signEvent: (a: number, b: number) => any; export const nostrsigner_nip04Encrypt: (a: number, b: number, c: number, d: number) => any; export const nostrsigner_nip04Decrypt: (a: number, b: number, c: number, d: number) => any; export const nostrsigner_nip44Encrypt: (a: number, b: number, c: number, d: number) => any; export const nostrsigner_nip44Decrypt: (a: number, b: number, c: number, d: number) => any; export const start: () => void; export const gitHashVersion: (a: number) => void; export const rustsecp256k1_v0_10_0_context_create: (a: number) => number; export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void; export const rustsecp256k1_v0_10_0_default_illegal_callback_fn: (a: number, b: number) => void; export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void; export const __wbg_set_paykeysendrequest_amount: (a: number, b: bigint) => void; export const __wbg_set_keysendtlvrecord_tlv_type: (a: number, b: bigint) => void; export const interests_new: () => number; export const __wbg_set_payinvoicerequest_amount: (a: number, b: number, c: bigint) => void; export const __wbg_set_payinvoiceresponse_fees_paid: (a: number, b: number, c: bigint) => void; export const __wbg_set_paykeysendresponse_fees_paid: (a: number, b: number, c: bigint) => void; export const __wbg_set_makeinvoiceresponse_amount: (a: number, b: number, c: bigint) => void; export const __wbg_set_sendeventoutput_success: (a: number, b: number, c: number) => void; export const __wbg_set_subscribeoutput_id: (a: number, b: number, c: number) => void; export const __wbg_set_gitrepositoryannouncement_id: (a: number, b: number, c: number) => void; export const __wbg_set_eventdeletionrequest_ids: (a: number, b: number, c: number) => void; export const __wbg_set_output_success: (a: number, b: number, c: number) => void; export const __wbg_set_failedoutputitem_url: (a: number, b: number, c: number) => void; export const __wbg_set_user_url: (a: number, b: number, c: number) => void; export const __wbg_set_relaylistitem_url: (a: number, b: number, c: number) => void; export const __wbg_set_emojiinfo_shortcode: (a: number, b: number, c: number) => void; export const __wbg_set_reconciliation_local: (a: number, b: number, c: number) => void; export const __wbg_set_makeinvoiceresponse_created_at: (a: number, b: number) => void; export const __wbg_set_lookupinvoiceresponse_settled_at: (a: number, b: number) => void; export const __wbg_get_lookupinvoiceresponse_settled_at: (a: number) => number; export const __wbg_relayoptions_free: (a: number, b: number) => void; export const __wbg_set_thumbnails_dimensions: (a: number, b: number) => void; export const __wbg_set_subscribeoutput_success: (a: number, b: number, c: number) => void; export const __wbg_set_mutelist_words: (a: number, b: number, c: number) => void; export const __wbg_set_mutelist_hashtags: (a: number, b: number, c: number) => void; export const __wbg_set_gitrepositoryannouncement_description: (a: number, b: number, c: number) => void; export const __wbg_get_gitrepositoryannouncement_description: (a: number, b: number) => void; export const __wbg_set_gitrepositoryannouncement_relays: (a: number, b: number, c: number) => void; export const __wbg_set_gitrepositoryannouncement_clone: (a: number, b: number, c: number) => void; export const __wbg_set_emojis_coordinate: (a: number, b: number, c: number) => void; export const __wbg_get_emojis_coordinate: (a: number, b: number) => void; export const __wbg_set_sendeventoutput_failed: (a: number, b: number, c: number) => void; export const __wbg_get_sendeventoutput_failed: (a: number, b: number) => void; export const __wbg_set_interests_coordinate: (a: number, b: number, c: number) => void; export const __wbg_get_interests_coordinate: (a: number, b: number) => void; export const __wbg_set_thumbnails_url: (a: number, b: number, c: number) => void; export const __wbg_get_thumbnails_url: (a: number, b: number) => void; export const __wbg_set_reconciliation_sent: (a: number, b: number, c: number) => void; export const __wbg_get_reconciliation_sent: (a: number, b: number) => void; export const __wbg_set_reconciliation_remote: (a: number, b: number, c: number) => void; export const __wbg_get_reconciliation_remote: (a: number, b: number) => void; export const __wbg_set_paykeysendrequest_pubkey: (a: number, b: number, c: number) => void; export const __wbg_get_paykeysendrequest_pubkey: (a: number, b: number) => void; export const __wbg_paykeysendresponse_free: (a: number, b: number) => void; export const __wbg_set_paykeysendresponse_preimage: (a: number, b: number, c: number) => void; export const __wbg_get_paykeysendresponse_preimage: (a: number, b: number) => void; export const __wbg_set_failedoutputitem_error: (a: number, b: number, c: number) => void; export const __wbg_get_failedoutputitem_error: (a: number, b: number) => void; export const __wbg_set_payinvoiceresponse_preimage: (a: number, b: number, c: number) => void; export const __wbg_get_payinvoiceresponse_preimage: (a: number, b: number) => void; export const __wbg_set_emojiinfo_url: (a: number, b: number, c: number) => void; export const __wbg_get_emojiinfo_url: (a: number, b: number) => void; export const __wbg_set_lookupinvoiceresponse_expires_at: (a: number, b: number) => void; export const __wbg_set_eventdeletionrequest_coordinates: (a: number, b: number, c: number) => void; export const __wbg_get_relaylistitem_url: (a: number, b: number) => void; export const __wbg_get_payinvoicerequest_amount: (a: number, b: number) => void; export const __wbg_get_user_url: (a: number, b: number) => void; export const __wbg_get_emojiinfo_shortcode: (a: number, b: number) => void; export const __wbg_get_reconciliation_local: (a: number, b: number) => void; export const __wbg_get_subscribeoutput_id: (a: number, b: number) => void; export const __wbg_get_paykeysendresponse_fees_paid: (a: number, b: number) => void; export const __wbg_get_gitrepositoryannouncement_id: (a: number, b: number) => void; export const __wbg_get_failedoutputitem_url: (a: number, b: number) => void; export const __wbg_get_makeinvoiceresponse_amount: (a: number, b: number) => void; export const __wbg_get_eventdeletionrequest_coordinates: (a: number, b: number) => void; export const __wbg_get_eventdeletionrequest_ids: (a: number, b: number) => void; export const __wbg_get_thumbnails_dimensions: (a: number) => number; export const __wbg_get_lookupinvoiceresponse_expires_at: (a: number) => number; export const __wbg_get_paykeysendrequest_amount: (a: number) => bigint; export const __wbg_get_keysendtlvrecord_tlv_type: (a: number) => bigint; export const __wbg_get_payinvoiceresponse_fees_paid: (a: number, b: number) => void; export const __wbg_publickey_free: (a: number, b: number) => void; export const __wbg_failedoutputitem_free: (a: number, b: number) => void; export const __wbg_get_sendeventoutput_success: (a: number, b: number) => void; export const __wbg_get_subscribeoutput_success: (a: number, b: number) => void; export const __wbg_get_mutelist_hashtags: (a: number, b: number) => void; export const __wbg_get_mutelist_words: (a: number, b: number) => void; export const __wbg_get_gitrepositoryannouncement_clone: (a: number, b: number) => void; export const __wbg_get_gitrepositoryannouncement_relays: (a: number, b: number) => void; export const __wbg_get_output_success: (a: number, b: number) => void; export const __wbindgen_export_0: (a: number) => void; export const __wbindgen_export_1: () => number; export const __wbindgen_export_2: WebAssembly.Table; export const __wbindgen_export_3: (a: number, b: number, c: number) => void; export const __wbindgen_export_4: (a: number, b: number) => number; export const __wbindgen_export_5: (a: number, b: number, c: number, d: number) => number; export const __wbindgen_export_6: WebAssembly.Table; export const __wbindgen_add_to_stack_pointer: (a: number) => number; export const __wbindgen_export_7: (a: number, b: number) => void; export const __wbindgen_export_8: (a: number) => void; export const closure21_externref_shim: (a: number, b: number, c: number, d: any) => void; export const __wbindgen_export_10: (a: number, b: number) => void; export const closure224_externref_shim: (a: number, b: number, c: any) => void; export const __wbindgen_export_12: (a: number, b: number) => void; export const closure253_externref_shim: (a: number, b: number, c: any) => void; export const closure263_externref_shim: (a: number, b: number, c: any, d: any) => void; export const __wbindgen_start: () => void;