import type { TaskOutput } from './types.js'; export interface HistoryEntry { taskId: string; command: 'image:generate' | 'video:generate' | 'music:generate' | 'music:lyrics' | 'music:video'; model: string; prompt: string; params: Record; provider: string; timestamp: string; status: 'pending' | 'success' | 'fail'; outputs?: TaskOutput[]; error?: string; } export declare function getHistoryPath(): string; export declare function addHistoryEntry(entry: HistoryEntry): void; export declare function updateHistoryEntry(taskId: string, update: { status?: HistoryEntry['status']; outputs?: TaskOutput[]; error?: string; }): void; export declare function getHistoryEntry(taskId: string): HistoryEntry | undefined; export declare function queryHistory(options?: { type?: string; limit?: number; status?: string; }): HistoryEntry[]; export declare function clearHistory(): void;