import CopilotModel import XPCShared protocol SuggestionCommandHandler { @ServiceActor func presentSuggestions(editor: EditorContent) async throws -> UpdatedContent? @ServiceActor func presentNextSuggestion(editor: EditorContent) async throws -> UpdatedContent? @ServiceActor func presentPreviousSuggestion(editor: EditorContent) async throws -> UpdatedContent? @ServiceActor func rejectSuggestion(editor: EditorContent) async throws -> UpdatedContent? @ServiceActor func acceptSuggestion(editor: EditorContent) async throws -> UpdatedContent? @ServiceActor func presentRealtimeSuggestions(editor: EditorContent) async throws -> UpdatedContent? @ServiceActor func generateRealtimeSuggestions(editor: EditorContent) async throws -> UpdatedContent? @ServiceActor func chatWithSelection(editor: EditorContent) async throws -> UpdatedContent? @ServiceActor func promptToCode(editor: EditorContent) async throws -> UpdatedContent? @ServiceActor func customCommand(name: String, editor: EditorContent) async throws -> UpdatedContent? }