mirror of
https://github.com/morluto/rea.git
synced 2026-10-29 10:55:57 +00:00
15 lines
645 B
TypeScript
15 lines
645 B
TypeScript
import type { ExecutionOptions, ProviderIdentity } from "./AnalysisProvider.js";
|
|
import type { AnalysisError } from "../domain/errors.js";
|
|
import type { BrowserScenario } from "../domain/browserScenario.js";
|
|
import type { BrowserScenarioCapture } from "../domain/browserScenarioCapture.js";
|
|
import type { Result } from "../domain/result.js";
|
|
|
|
/** Provider-neutral application boundary for controlled browser scenarios. */
|
|
export interface BrowserScenarioCapturePort {
|
|
identity(): ProviderIdentity;
|
|
captureScenario(
|
|
scenario: BrowserScenario,
|
|
options?: ExecutionOptions,
|
|
): Promise<Result<BrowserScenarioCapture, AnalysisError>>;
|
|
}
|