export interface ProfileInfo { /** Profile name */ name: string; /** Full path to state directory */ stateDir: string; /** Whether this is the currently active profile */ isActive: boolean; /** Number of agents in this profile */ agentCount: number; /** Profile creation time */ createdAt?: Date; } /** * Resolve state directory for a specific profile */ export declare function resolveProfileStateDir(profile: string): string; /** * Get the name of a profile from its state directory path */ export declare function getProfileNameFromDir(stateDir: string): string; /** * Get the currently active profile name from environment */ export declare function getCurrentProfile(): string; export declare class ProfileManager { private readonly homeDir; constructor(); /** * List all available profiles */ listProfiles(): Promise; /** * Create a new profile */ createProfile(name: string): Promise; /** * Delete a profile (with safety checks) */ deleteProfile(name: string, options?: { force?: boolean; }): Promise; /** * Get shell command to switch to a profile */ getSwitchCommand(name: string): string; /** * Get the profile state directory */ getProfileStateDir(name: string): string; private getProfileInfo; } export declare function getProfileManager(): ProfileManager; export declare function listProfiles(): Promise; export declare function createProfile(name: string): Promise; export declare function deleteProfile(name: string, options?: { force?: boolean; }): Promise; export declare function getSwitchCommand(name: string): string;