import { TestResultType, Attachment, Report } from '../models'; export interface WriterInterface { writeReport(results: Report): Promise; writeTestResult(result: TestResultType): Promise; writeAttachment(attachments: Attachment[]): Attachment[]; clearPreviousResults(): void; readTestResults(): TestResultType[]; }