mirror of
https://github.com/morluto/rea
synced 2026-10-28 06:46:47 -04:00
2a66ec9094
Validation: integrated changes passed formatting, typecheck, lint, resolved module-boundary verification and git diff --check. Tests and real-provider workflows were not run.
16 lines
683 B
TypeScript
16 lines
683 B
TypeScript
import type { ExecutionOptions, ProviderIdentity } from "./AnalysisProvider.js";
|
|
import type { AnalysisError } from "../domain/analysisErrorBase.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 {
|
|
close?(): Promise<void>;
|
|
identity(): ProviderIdentity;
|
|
captureScenario(
|
|
scenario: BrowserScenario,
|
|
options?: ExecutionOptions,
|
|
): Promise<Result<BrowserScenarioCapture, AnalysisError>>;
|
|
}
|