/** * @name config/setup * @description Interactive setup wizard for initial configuration and keypair generation * @module config/setup */ import { type FullConfig } from './secure-config.js'; import type { SapMcpMode } from './env.js'; type LogLevel = FullConfig['logLevel']; /** * @name WizardSetupInput * @description Raw answers collected by the CLI or TUI setup wizard before persistence. */ export interface WizardSetupInput { mode: SapMcpMode; rpcUrl: string; profileName?: string; walletPath?: string; createNewWallet?: boolean; externalSignerUrl?: string; maxTxValueSol: number; dailyLimitSol: number; enableBento: boolean; bentoApiKey?: string; bentoAgentId?: string; enableHttp?: boolean; httpPort?: number; logLevel: LogLevel; enableMetrics: boolean; } /** * @name WizardSetupResult * @description Result returned after the wizard writes config and optional wallet material. */ export interface WizardSetupResult { config: FullConfig; configPath: string; walletPath?: string; walletCreated: boolean; } /** * @name buildWizardConfig * @description Converts wizard answers into a complete, schema-valid runtime config object. */ export declare function buildWizardConfig(input: WizardSetupInput): FullConfig; /** * @name saveWizardSetup * @description Persists wizard output to the preferred config directory and creates a dedicated wallet when requested. */ export declare function saveWizardSetup(input: WizardSetupInput): Promise; export {}; //# sourceMappingURL=setup.d.ts.map