import { EventTemplate, NostrEvent, UnsignedEvent } from "nostr-tools";
import { EventOperation } from "../types.js";
/**
 * An operation that adds the signers pubkey to the event
 * @throws {Error} if no signer is provided
 */
export declare function stamp(): EventOperation<EventTemplate, UnsignedEvent>;
/**
 * An operation that signs the event
 * @throws {Error} if no signer is provided
 */
export declare function sign(): EventOperation<EventTemplate | UnsignedEvent, NostrEvent>;
