import { i as OpenClawConfig } from "./types.openclaw-oSBece7v.js"; import { d as SecretInput } from "./types.secrets-C15Z_eLX.js"; import { t as ChannelPlugin } from "./types.plugin-M6Pttpij.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: OpenClawConfig; 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 };