move to pkg
This commit is contained in:
13
packages/system/dist/NostrLink.d.ts
vendored
Normal file
13
packages/system/dist/NostrLink.d.ts
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
import { NostrPrefix } from ".";
|
||||
export interface NostrLink {
|
||||
type: NostrPrefix;
|
||||
id: string;
|
||||
kind?: number;
|
||||
author?: string;
|
||||
relays?: Array<string>;
|
||||
encode(): string;
|
||||
}
|
||||
export declare function validateNostrLink(link: string): boolean;
|
||||
export declare function tryParseNostrLink(link: string, prefixHint?: NostrPrefix): NostrLink | undefined;
|
||||
export declare function parseNostrLink(link: string, prefixHint?: NostrPrefix): NostrLink;
|
||||
//# sourceMappingURL=NostrLink.d.ts.map
|
Reference in New Issue
Block a user