import { Rumor } from "applesauce-core/helpers";
import { EventTemplate, NostrEvent, UnsignedEvent } from "nostr-tools";
import { EventOperation } from "../types.js";
import { MetaTagOptions } from "./common.js";
/** Converts an event to a rumor. The first operation in the gift wrap pipeline */
export declare function toRumor(): EventOperation<EventTemplate | UnsignedEvent | NostrEvent, Rumor>;
/** Seals a rumor in a NIP-59 seal. The second operation in the gift wrap pipeline */
export declare function sealRumor(pubkey: string): EventOperation<Rumor, NostrEvent>;
export type GiftWrapOptions = MetaTagOptions;
/** Gift wraps a seal to a pubkey. The third operation in the gift wrap pipeline */
export declare function wrapSeal(pubkey: string, opts?: GiftWrapOptions): EventOperation<NostrEvent, NostrEvent>;
/** An operation that gift wraps an event to a pubkey */
export declare function giftWrap(pubkey: string, opts?: GiftWrapOptions): EventOperation<EventTemplate | UnsignedEvent | NostrEvent, NostrEvent>;
