import { ToolResult } from '../types.js'; export interface DetectWorkspacesArgs { includeRecent?: boolean; includeRunning?: boolean; maxResults?: number; } export interface SelectWorkspaceArgs { workspacePath: string; source: 'detected' | 'recent' | 'manual'; } export declare class VSCodeDetectionService { constructor(); /** * Smart workspace initialization - automatically detect and prompt user */ smartWorkspaceInit(): Promise; /** * Detect all available VS Code workspaces */ detectWorkspaces(args?: DetectWorkspacesArgs): Promise; /** * Present workspace selection to user and handle choice */ presentWorkspaceChoice(): Promise; /** * Auto-select the most appropriate workspace */ autoSelectWorkspace(): Promise; /** * Detect running VS Code instances using process detection */ private _detectRunningInstances; /** * Get platform-specific detection methods */ private _getDetectionMethods; /** * Detect recent workspaces from VS Code configuration */ private _detectRecentWorkspaces; /** * Get all possible VS Code storage paths */ private _getStoragePaths; /** * Parse VS Code SQLite database for workspace information */ private _parseVSCodeDatabase; /** * Parse VS Code JSON storage file */ private _parseVSCodeStorage; /** * Parse recent workspaces data from VS Code storage */ private _parseRecentWorkspaces; /** * Parse process line to extract VS Code instance information */ private _parseProcessLine; /** * Extract workspace information from command line */ private _extractWorkspacesFromCommandLine; /** * Clean and normalize workspace path */ private _cleanWorkspacePath; /** * Check if path is a valid workspace path */ private _isValidWorkspacePath; /** * Check if this is a main VS Code process (not helper/renderer) */ private _isMainVSCodeProcess; /** * Extract executable name from command line */ private _extractExecutableName; /** * Perform full detection and return structured result */ private _performDetection; /** * Format workspace list for display */ private _formatWorkspaceList; /** * Format date for human-readable display */ private _formatDate; } //# sourceMappingURL=VSCodeDetectionService.d.ts.map