@capgo/cli
Version:
A CLI to upload to capgo servers
11 lines (10 loc) • 525 B
TypeScript
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 {};