import type { McpServerRef, WardenFinding, WardenPolicy, WardenVerdict } from './types.js'; export type ResultPolicy = 'off' | 'warn' | 'block'; export declare const RESULT_POLICIES: readonly ResultPolicy[]; /** Characters of result text read per call: the head, plus the tail of anything longer. */ export declare const RESULT_SCAN_CHARS: number; export declare function resultText(result: unknown): string; export interface ResultScreen { flagged: boolean; complete: boolean; codes: string[]; findings: WardenFinding[]; verdict?: WardenVerdict; } /** Read one result through the static rules; `flagged` when a blocking-tier rule fires. */ export declare function screenResult(server: McpServerRef, tool: string, result: unknown, policy: WardenPolicy): Promise; export declare function resultNotice(tool: string, codes: readonly string[]): string; /** The result with WARDEN's notice as its first text block; everything else untouched. */ export declare function annotateResult(result: Record, tool: string, codes: readonly string[]): Record; //# sourceMappingURL=result-screen.d.ts.map