import type { z } from "zod"; export interface HostFinding { ruleId: string; severity: "critical" | "high" | "medium" | "low" | "info"; trustState: "trusted" | "unknown" | "unverified-offline" | "suspicious"; verdict: "observed" | "risky" | "exploitable"; confidence: "high" | "medium" | "low"; source: "core" | `plugin:${string}`; file?: string; line?: number; description: string; remediation: string; patchPreview?: string; } export interface DoctorConfig { trustedServers?: string[]; trustedBaseUrls?: string[]; trustedRegistries?: string[]; ignorePaths?: string[]; } export type DoctorScope = "project" | "host" | "full"; export interface DoctorOptions { scope: DoctorScope; includeHomeProfiles?: boolean; allowNetworkVerification?: boolean; } export interface ToolDefinition { name: string; description: string; schema: Record; handler: (input: Record) => Promise<{ content: Array<{ type: "text"; text: string; }>; }>; } export declare function redactSecrets(text: string): string; export declare function formatHostFinding(f: HostFinding, format: "markdown" | "json"): string; export declare function formatHostFindings(findings: HostFinding[], scannedFiles: string[], skippedFiles: string[], format: "markdown" | "json", title?: string): string;