import type { Config } from "../../types/index.js"; /** * Editor information */ export interface EditorInfo { name: "cursor" | "vsCode" | "other"; command: string; detected: boolean; } /** * Service for editor detection and operations * Single Responsibility: Editor-related functionality */ export declare class EditorService { private editorCommand?; constructor(editorCommand?: string); /** * Open a file in the configured editor */ openFile(filePath: string): Promise; /** * Open a file in preview mode (markdown preview for VS Code/Cursor) */ openFileInPreview(filePath: string): Promise; /** * Detect available editor */ detectEditor(): Promise; /** * Get editor command from config or detect */ getEditorCommand(config: Config): Promise; /** * Get editor protocol for file links */ getEditorProtocol(editorCommand: string): string; /** * Create clickable file link for editor */ createFileLink(editorCommand: string, filePath: string, line?: number, column?: number): string; /** * Check if editor CLI needs installation */ checkEditorCLI(): Promise<{ cursorInstalled: boolean; vscodeInstalled: boolean; }>; /** * Show installation instructions for editor CLI */ showInstallInstructions(editor: "cursor" | "vsCode"): void; } //# sourceMappingURL=EditorService.d.ts.map