import type { EventKind, NostrEvent, EventSigner, PowMiner } from "."; import { type NostrLink } from "./nostr-link"; export declare class EventBuilder { #private; /** * Client tag to attach to all events */ static ClientTag: Array | undefined; get pubkey(): string | undefined; /** * Populate builder with values from link */ fromLink(link: NostrLink): void; jitter(n: number): this; kind(k: EventKind): this; content(c: string): this; createdAt(n: number): this; pubKey(k: string): this; tag(t: Array): EventBuilder; pow(target: number, miner?: PowMiner): this; /** * Extract mentions */ processContent(): this; build(): NostrEvent; /** * Build and sign event * @param pk Private key to sign event with */ buildAndSign(pk: string | EventSigner): Promise; } //# sourceMappingURL=event-builder.d.ts.map