on-codemerge
Version:
A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product
28 lines (27 loc) • 755 B
TypeScript
import { Plugin } from '../../core/Plugin';
import { HTMLEditor } from '../../core/HTMLEditor.ts';
export declare class AIAssistantPlugin implements Plugin {
name: string;
private editor;
private popup;
private apiKey;
private driver;
private driverName;
private structurePrompt;
private prompt;
private driverOptions;
private toolbarButton;
private drivers;
constructor();
private initializeDrivers;
initialize(editor: HTMLEditor): void;
private addToolbarButton;
private createPopupItems;
private setupPopup;
private updatePopupContent;
private getDriverOptionsDescription;
private handleGenerate;
private saveSettings;
private loadSettings;
destroy(): void;
}