import type { TraceData, TraceSummary, Config, RuleSet } from '../shared/types/index.js'; export interface StorageServiceOptions { baseDir?: string; } export declare class StorageService { private readonly baseDir; private readonly tracesDir; private readonly reportsDir; private readonly patchesDir; private readonly backupsDir; private readonly scenariosDir; constructor(options?: StorageServiceOptions); ensureDirectories(): Promise; writeTrace(runId: string, trace: TraceData): Promise; writeSummary(runId: string, summary: TraceSummary): Promise; writeReport(timestamp: string, html: string): Promise; writeJsonReport(name: string, data: unknown): Promise; writePatch(name: string, patch: string): Promise; writeBackup(filePath: string, content: string): Promise; readConfig(): Promise; writeConfig(config: Config): Promise; readRules(): Promise; writeRules(rules: RuleSet): Promise; writeScenario(name: string, content: string): Promise; readTrace(tracePath: string): Promise; exists(filePath: string): Promise; getBaseDir(): string; getTracesDir(): string; getReportsDir(): string; getPatchesDir(): string; getBackupsDir(): string; getScenariosDir(): string; }