import { Transport } from '../core/transport'; import { ApnaNostr } from '../interfaces/nostr/protocol'; import { INostr } from '../interfaces/nostr'; export declare type ApnaNostrWithLegacy = ApnaNostr & INostr; export interface NostrProtocolOptions { transport: () => Transport; call: (capability: string, args: unknown[]) => Promise; } /** Create the low-level Nostr protocol module, with legacy method fallback. */ export declare function createNostrProtocol(options: NostrProtocolOptions): ApnaNostrWithLegacy;