Validation: integrated changes passed formatting, typecheck, lint, resolved module-boundary verification and git diff --check. Tests and real-provider workflows were not run.
17 lines
585 B
TypeScript
17 lines
585 B
TypeScript
import type {
|
|
AnalysisExecution,
|
|
ExecutionOptions,
|
|
} from "../AnalysisProvider.js";
|
|
import type { FirmwareRequest } from "../../domain/firmware/firmwareAnalysis.js";
|
|
import type { AnalysisError } from "../../domain/analysisErrorBase.js";
|
|
import type { Result } from "../../domain/result.js";
|
|
|
|
/** File-oriented firmware engines; executable admission remains a separate operation. */
|
|
export interface FirmwareAnalysisPort {
|
|
close?(): Promise<void>;
|
|
execute(
|
|
request: FirmwareRequest,
|
|
options?: ExecutionOptions,
|
|
): Promise<Result<AnalysisExecution, AnalysisError>>;
|
|
}
|