blob: 3673ad85f0f4d84ef7e6030a7dc8a550d424e668 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/// <reference types="@sveltejs/kit" />
declare const grecaptcha: {
ready(callback: () => void): void;
execute(siteKey: string, options: { action: string }): Promise<string>;
};
declare class NDEFReader {
constructor();
scan(): Promise<void>;
write(data: any): Promise<void>;
addEventListener(type: string, listener: (event: any) => void): void;
removeEventListener(type: string, listener: (event: any) => void): void;
}
interface Window {
nostr?: {
getPublicKey(): Promise<string>;
signEvent(event: any): Promise<any>;
nip04?: {
encrypt(pubkey: string, plaintext: string): Promise<string>;
decrypt(pubkey: string, ciphertext: string): Promise<string>;
};
};
maplibregl?: any;
}
|