/** * Timeline file to database synchronization * Handles YAML timeline files → database */ import type { MCPClient } from '../core/database.js'; export interface TimelineYAML { events: Array<{ name: string; type?: 'plot' | 'backstory' | 'world_history'; description?: string; storyDate?: string; storyTimestamp?: number; sceneReference?: string; isBackstory?: boolean; importance?: number; happensBefore?: string[]; }>; } export declare class TimelineSync { private mcpClient; private projectId; private projectPath; constructor(mcpClient: MCPClient, projectId: number, projectPath: string); /** * Sync a timeline YAML file to the database */ syncTimelineFile(filePath: string): Promise; /** * Sync all timeline files in the timeline directory */ syncAllTimelines(): Promise<{ synced: number; errors: string[]; }>; /** * Export all timeline events to a YAML file */ exportToYAML(outputPath: string): Promise; /** * Insert or update an event */ private upsertEvent; /** * Insert or update a dependency */ private upsertDependency; } //# sourceMappingURL=timeline-sync.d.ts.map