UNPKG

@capgo/cli

Version:
11 lines (10 loc) 525 B
import type { OutcomeOptions, PrescanCheck, PrescanOutcome, PrescanReport, ScanContext } from './types'; import { type PrescanOverrides } from './overrides'; interface EngineOptions { checkTimeoutMs?: number; } export declare function runPrescan(ctx: ScanContext, checks: PrescanCheck[], options?: EngineOptions & { overrides?: PrescanOverrides; }): Promise<PrescanReport>; export declare function decideOutcome(report: Pick<PrescanReport, 'counts' | 'findings'>, options: OutcomeOptions): PrescanOutcome; export {};