import { Type } from "typebox"; import { type Finding } from "../schema/index.js"; import { type StaleLoadCheck } from "../load-identity.js"; declare const MAX_RENDERED_TEXT = 4000; export interface WorkValidateDetails { path: string; valid: boolean; errorCount: number; warningCount: number; findings: Finding[]; truncated: boolean; /** Present when the pi-work on disk differs from the one this process loaded. */ restartHint?: string; } export interface WorkValidateToolOptions { /** Defaults to the check for the pi-work copy this process loaded. */ readonly loadCheck?: StaleLoadCheck; } export declare function createWorkValidateTool(options?: WorkValidateToolOptions): import("@earendil-works/pi-coding-agent").ToolDefinition, unknown, any> & import("@earendil-works/pi-coding-agent").ToolDefinition; export declare const workValidateTool: import("@earendil-works/pi-coding-agent").ToolDefinition, unknown, any> & import("@earendil-works/pi-coding-agent").ToolDefinition; export { MAX_RENDERED_TEXT };