/** * @name config/profiles * @description Multi-agent profile management for switching between agent contexts * @module config/profiles */ import { type FullConfig } from './secure-config.js'; /** * Profile metadata */ export interface ProfileInfo { name: string; path: string; exists: boolean; agentPubkey?: string; mode?: FullConfig['mode']; walletPath?: string; rpcUrl?: string; walletEncrypted?: boolean; active?: boolean; walletExists?: boolean; issues?: string[]; } /** * Profile switch result */ export interface ProfileSwitchResult { success: boolean; previousProfile: string; newProfile: string; message: string; } /** * Get path to active profile marker file */ export declare function getActiveProfilePath(): string; /** * Get config path for a specific profile */ export declare function getProfileConfigPath(profileName: string): string; /** * Get current active profile name */ export declare function getActiveProfile(): string; /** * Set active profile */ export declare function setActiveProfile(profileName: string): void; /** * List all available profiles */ export declare function listProfiles(): ProfileInfo[]; /** * Check if profile exists */ export declare function profileExists(profileName: string): boolean; /** * Load config from specific profile */ export declare function loadProfileConfig(profileName: string): FullConfig | null; /** * Save config to specific profile */ export declare function saveProfileConfig(profileName: string, config: FullConfig): Promise; /** * Switch to a different profile */ export declare function switchProfile(profileName: string): ProfileSwitchResult; /** * Create a new profile (copy from current or default) */ export declare function createProfile(profileName: string, copyFrom?: string): Promise; /** * Delete a profile (cannot delete active or default) */ export declare function deleteProfile(profileName: string): Promise<{ success: boolean; message: string; }>; /** * Get current profile info */ export declare function getCurrentProfileInfo(): ProfileInfo; //# sourceMappingURL=profiles.d.ts.map