import { AddressPointer, EventPointer, ProfilePointer } from "./pointers.js"; import { NameValueTag } from "./tags.js"; /** Returns a tag for an address pointer */ export declare function createATagFromAddressPointer(pointer: AddressPointer): NameValueTag; export type Nip10TagMarker = "root" | "reply" | "mention" | ""; /** Returns a tag for an event pointer with a marker*/ export declare function createETagWithMarkerFromEventPointer(pointer: EventPointer, marker?: Nip10TagMarker): NameValueTag; /** Returns a tag for an event pointer without a marker */ export declare function createETagFromEventPointer(pointer: EventPointer): NameValueTag; /** Returns a tag for an profile pointer */ export declare function createPTagFromProfilePointer(pointer: ProfilePointer): NameValueTag; /** Creates a "q" tag for an EventPointer */ export declare function createQTagFromEventPointer(pointer: EventPointer): string[]; /** Adds or merges an EventPointer into a tags list */ export declare function ensureQuoteEventPointerTag(tags: string[][], pointer: EventPointer): string[][]; /** Adds or merges an EventPointer with marker into a tags list */ export declare function ensureMarkedEventPointerTag(tags: string[][], pointer: EventPointer, marker?: Nip10TagMarker): string[][]; /** * Adds or merges an EventPointer without marker or pubkey into a tags list * NOTE: this should not be used for kind 1 notes */ export declare function ensureEventPointerTag(tags: string[][], pointer: EventPointer): string[][]; /** Adds or merges an ProfilePointer into a tags list */ export declare function ensureMarkedProfilePointerTag(tags: string[][], pointer: ProfilePointer, marker: string): string[][]; /** Adds or merges an ProfilePointer into a tags list */ export declare function ensureProfilePointerTag(tags: string[][], pointer: ProfilePointer): string[][]; /** Adds or merges an AddressPointer into a tags list */ export declare function ensureAddressPointerTag(tags: string[][], pointer: AddressPointer): string[][]; /** Adds or merges a marked AddressPointer into a tags list */ export declare function ensureMarkedAddressPointerTag(tags: string[][], pointer: AddressPointer, marker: Nip10TagMarker): string[][]; /** Ensures an array of tags includes a simple "k" tag */ export declare function ensureKTag(tags: string[][], kind: number): string[][];