import { r as KlawConfig } from "./types.klaw-xKUw_Rz7.js"; import { l as SecretInput } from "./types.secrets-Cx0MFT2Y.js"; import { n as ChannelPlugin } from "./types.public-BSMobFik.js"; //#region extensions/nostr/src/config-schema.d.ts interface NostrProfile { name?: string; displayName?: string; about?: string; picture?: string; banner?: string; website?: string; nip05?: string; lud16?: string; } //#endregion //#region extensions/nostr/src/types.d.ts interface NostrAccountConfig { enabled?: boolean; name?: string; defaultAccount?: string; privateKey?: SecretInput; relays?: string[]; dmPolicy?: "pairing" | "allowlist" | "open" | "disabled"; allowFrom?: Array; profile?: NostrProfile; } interface ResolvedNostrAccount { accountId: string; name?: string; enabled: boolean; configured: boolean; privateKey: string; publicKey: string; relays: string[]; profile?: NostrProfile; config: NostrAccountConfig; } /** * Resolve a Nostr account from config */ declare function resolveNostrAccount(opts: { cfg: KlawConfig; accountId?: string | null; }): ResolvedNostrAccount; //#endregion //#region extensions/nostr/src/channel.d.ts declare const nostrPlugin: ChannelPlugin; //#endregion export { NostrProfile as i, ResolvedNostrAccount as n, resolveNostrAccount as r, nostrPlugin as t };