export interface AgentConfig { machine: { id: string; name: string; }; agent: { port: number; }; projects: { basePath: string; whitelist: string[]; }; editor?: { enabled: boolean; portRange: { start: number; end: number; }; idleTimeout: number; }; } /** * Get the profiles directory path */ export declare function getProfilesDir(): string; /** * Get the config file path for a specific profile * @param profileName - Profile name, or undefined/null/'default' for default config */ export declare function getProfilePath(profileName?: string | null): string; /** * List all available profiles */ export declare function listProfiles(): string[]; /** * Check if a profile exists */ export declare function profileExists(profileName?: string | null): boolean; /** * Delete a profile */ export declare function deleteProfile(profileName: string): boolean; /** * Load configuration from ~/.247/config.json or a profile * @param profileName - Profile name to load, or undefined for default */ export declare function loadConfig(profileName?: string | null): AgentConfig | null; /** * Save configuration to ~/.247/config.json or a profile * @param config - Configuration to save * @param profileName - Profile name to save to, or undefined for default */ export declare function saveConfig(config: AgentConfig, profileName?: string | null): void; /** * Create a new configuration with defaults */ export declare function createConfig(options: { machineName: string; port?: number; projectsPath?: string; }): AgentConfig; /** * Check if configuration exists * @param profileName - Profile name to check, or undefined for default */ export declare function configExists(profileName?: string | null): boolean; //# sourceMappingURL=config.d.ts.map