import type { ObserverReportOnlyFinding } from "./evidence.js"; type ObserveJavaWriteInput = { readonly evidenceDir?: string; readonly projectDir: string; readonly tool: string; readonly sessionID: string; readonly callID?: string; readonly targetFile?: string; readonly output?: ObserverToolOutput; }; /** * Structural view of the host tool output. Kept local so the observer does not * depend on the plugin hook module. */ export type ObserverToolOutput = { output?: unknown; }; export declare const OBSERVER_OUTPUT_MARKER = "[Persona Harness Observation]"; export declare function observeJavaWriteReportOnly(input: ObserveJavaWriteInput): void; /** * Surfaces actionable observer findings in the tool output the agent reads. * Only HIGH-confidence WARN findings backed by concrete evidence are appended; * every finding is still written to the evidence store regardless of this. */ export declare function appendObserverFindingsToToolOutput(output: ObserverToolOutput, findings: readonly ObserverReportOnlyFinding[], inspectedFile: string): void; export declare function formatObserverFindingsBlock(findings: readonly ObserverReportOnlyFinding[], inspectedFile: string): string | undefined; export {};