export type OS = 'macos' | 'linux'; export type Arch = 'aarch64' | 'x86_64'; export type ServiceBackend = 'launchd' | 'systemd'; export type PkgMgr = 'brew' | 'apt' | 'dnf' | 'pacman'; export interface Platform { os: OS; arch: Arch; pkgMgr: PkgMgr; serviceBackend: ServiceBackend; nvpnTarget: string; homeDir: string; cargoBin: string; logDir: string; scriptsDir: string; projectsDir: string; configDir: string; relayDataDir: string; launchAgentsDir?: string; } export type Editor = 'claude-code' | 'cursor' | 'windsurf' | 'copilot' | 'aider' | 'codex' | 'other'; export type VersionControl = 'ngit' | 'github' | 'both'; export interface Config { npub: string; hexPubkey: string; bunker: string; relayName: string; fallbackRelays: string; aiProvider: 'anthropic' | 'openrouter' | 'routstr' | 'ppq' | 'ollama' | 'lmstudio' | 'opencode-zen' | 'maple' | 'custom'; openrouterKey?: string; openrouterModel?: string; routstrCashuToken?: string; routstrServer?: string; ppqApiKey?: string; ollamaModel?: string; ollamaBase?: string; lmstudioModel?: string; lmstudioBase?: string; opencodeZenKey?: string; opencodeZenModel?: string; mapleApiKey?: string; mapleBase?: string; customApiBase?: string; customApiKey?: string; customModel?: string; editor: Editor; versionControl: VersionControl; installStacks: boolean; installBlossom: boolean; installLlmWiki: boolean; installNsyte: boolean; whitelistExtra?: string; watchdogNpub?: string; } export interface Installed { rust: boolean; node: boolean; git: boolean; nak: boolean; relay: boolean; ngit: boolean; nvpn: boolean; claude: boolean; gh: boolean; stacks: boolean; blossom: boolean; nsyte: boolean; } export declare function detectPlatform(): Platform; export declare function detectInstalled(): Installed; export declare function npubToHex(npub: string): string; export declare function probeOllama(base?: string): Promise; export declare function probeLmStudio(base?: string): Promise; export declare function probeMaple(base?: string): Promise;