/** * `nostr-station ai …` CLI — multi-provider AI configuration. * * Subcommands: * ai list display configured providers + defaults * ai add enable / set-up a provider (interactive key for API) * ai remove delete keychain entry + remove from config * ai default terminal set terminal-native default * ai default chat set chat (API) default * * Macos quirk: `ai add ` stores the key via the OS keychain, * which on macOS requires the running process to be in the user's Aqua * session — i.e. launched from iTerm / Terminal.app, not from the * dashboard's node-pty terminal panel (which uses POSIX_SPAWN_SETSID and * loses the Aqua bootstrap). The CLI works from a real terminal; the * dashboard's Config panel's browser form is the canonical in-dashboard * path. See src/lib/terminal.ts for the underlying constraint. */ import React from 'react'; export type AiAction = 'list' | 'add' | 'remove' | 'default' | 'help'; interface AiProps { action: AiAction; providerId?: string; kind?: 'terminal' | 'chat'; yes?: boolean; } export declare const Ai: React.FC; export {};