import type { ConnectorComponent } from "./common/connector.js"; import type { CompositionAnalysisIssue, StaticCodeAnalysisIssue } from "./common/common-types.js"; import type { ReportObject, StepReportObject } from "./report/index.js"; export interface BuildStepEvent { kind: "build"; component: ConnectorComponent; report: StepReportObject<{ logFilePath: string | undefined; }>; } export interface TestStepEvent { kind: "test"; component: ConnectorComponent; report: StepReportObject<{ logFilePath: string | undefined; }>; } export interface ScaStepEvent { kind: "sca"; report: StepReportObject<{ issues: Array; }>; } export interface SastStepEvent { kind: "sast"; report: StepReportObject<{ issues: Array; }>; } export type StepEvent = BuildStepEvent | TestStepEvent | ScaStepEvent | SastStepEvent; export type ConnectorValidatorEvents = { stepStarted: [StepEvent]; stepCompleted: [StepEvent]; validationCompleted: [ReportObject]; validationException: [Error[]]; }; //# sourceMappingURL=validator-events.d.ts.map