chrome-devtools-frontend
Version:
Chrome DevTools UI
16 lines (13 loc) • 643 B
text/typescript
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import type * as Models from '../models/models.js';
import type * as PuppeteerReplay from '../../../third_party/puppeteer-replay/puppeteer-replay.js';
export interface Converter {
stringify(flow: Models.Schema.UserFlow): Promise<[string, PuppeteerReplay.SourceMap|undefined]>;
stringifyStep(step: Models.Schema.Step): Promise<string>;
getFormatName(): string;
getFilename(flow: Models.Schema.UserFlow): string;
getMediaType(): string|undefined;
getId(): string;
}