import { Rumor, NostrEvent, SHARED_CHANNEL_KIND } from "./types"; export { SHARED_CHANNEL_KIND }; /** * A shared NIP-44 encrypted channel derived from a secret key. * All participants who know the secret can publish and read events. * Inner content is Rumors identifying the real author. */ export declare class SharedChannel { readonly publicKey: string; private secretKey; private conversationKey; constructor(secretKey: Uint8Array); /** Encrypt a Rumor and return a signed outer event ready for publishing */ createEvent(rumor: Rumor): import("nostr-tools").VerifiedEvent; /** Decrypt an outer event and return the inner Rumor */ decryptEvent(event: NostrEvent): Rumor; /** Check if an event belongs to this channel */ isChannelEvent(event: NostrEvent): boolean; } //# sourceMappingURL=SharedChannel.d.ts.map