import type { NostrEvent, VaultShareData } from '../types.js'; /** * Build a kind 30480 vault share event (unsigned, unencrypted). * * @security The `content` field contains the RAW CONTENT KEY in hex. * This event MUST be NIP-44 encrypted and NIP-59 gift-wrapped before * publishing. Publishing without encryption leaks the content key. */ export declare function buildVaultShareEvent(authorPubkey: string, recipientPubkey: string, ckHex: string, epochId: string, tier: string): NostrEvent; /** * Parse a vault share event into structured data. * Returns null if the event is not a valid kind 30480. */ export declare function parseVaultShare(event: Record): VaultShareData | null; /** * Build a Nostr filter for vault share events. * When both epochId and tier are provided, filters by the exact d-tag value. * When only authorPubkey is provided, returns all shares from that author. */ export declare function buildVaultShareFilter(authorPubkey: string, epochId?: string, tier?: string): Record; //# sourceMappingURL=vault-share.d.ts.map