export type Severity = "high" | "medium"; export type Finding = { ruleId: string; severity: Severity; line: number; evidence: string; message: string; hint: string; }; export type Flags = { oses: string[]; xvfb: boolean; cache: boolean; frozen: boolean; artifact: boolean; timeout: boolean; permissions: boolean; nodePinned: boolean; pullRequestTarget: boolean; secretEcho: boolean; }; export type Rule = { id: string; severity: Severity; label: string; hint: string; }; export declare const RULES: Rule[]; export declare function parseFlags(text: string): Flags; export declare function scanWorkflow(text: string): { findings: Finding[]; flags: Flags; }; export declare function scoreFindings(findings: Finding[]): number; export declare function summarize(findings: Finding[]): { high: number; medium: number; total: number; }; //# sourceMappingURL=rules.d.ts.map