/** * Risk Calculator Policy — pure logic migrated from openclaw-plugin. * * No I/O, no fs, no network. Only the pure line-change estimation function * that was previously mixed with I/O functions in plugin's risk-calculator.ts. * The I/O functions (assessRiskLevel, getTargetFileLineCount, * calculatePercentageThreshold) were dead code and removed during Stage 2/3. */ export interface FileModification { toolName: string; params: Record; } /** * Estimate the number of lines changed by a tool call. * Returns 0 for unknown tools, 50 for file deletions. */ export declare function estimateLineChanges(modification: FileModification): number; //# sourceMappingURL=risk-calculator-policy.d.ts.map