import { DiscourseSyncSettings } from './config'; export interface ActiveFile { name: string; content: string; postId?: number; tags?: string[]; } export interface PluginInterface { settings: DiscourseSyncSettings; activeFile: ActiveFile; saveSettings(): Promise; publishTopic(): Promise<{ success: boolean; error?: string }>; }