You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
758 B
32 lines
758 B
// See https://kit.svelte.dev/docs/types#app |
|
|
|
import { NDKEvent, NDKNip07Signer } from "@nostr-dev-kit/ndk"; |
|
import { HLJSApi } from "highlight.js"; |
|
|
|
// for information about these interfaces |
|
declare global { |
|
namespace App { |
|
// interface Error {} |
|
// interface Locals {} |
|
interface PageData { |
|
waitable?: Promise<unknown>; |
|
publicationType?: string; |
|
indexEvent?: NDKEvent; |
|
url?: URL; |
|
} |
|
// interface Platform {} |
|
} |
|
|
|
var hljs: HLJSApi; |
|
|
|
// deno-lint-ignore no-explicit-any |
|
var MathJax: any; |
|
|
|
var nostr: NDKNip07Signer & { |
|
getRelays: () => Promise<Record<string, Record<string, boolean | undefined>>>; |
|
// deno-lint-ignore no-explicit-any |
|
signEvent: (event: any) => Promise<any>; |
|
}; |
|
} |
|
|
|
export {};
|
|
|