declare module "types" { export interface Options { screenshotsPath: string; resolutions: number[]; } } declare module "caravaggio" { import { Options } from "types"; export default class CaravaggioProtractor { private options; constructor(options: Options); private comparisons; run(): Promise; capture(filename: string): void; clear(): void; private runComparisons(); private addComparison(filename); } } declare module "caravaggio-protractor" { export const name = "Caravaggio"; }