import { z } from 'zod'; export declare const SEVERITIES: readonly ["critical", "high", "medium", "low", "info"]; export type Severity = (typeof SEVERITIES)[number]; export declare const RULE_CATEGORIES: readonly ["tool-poisoning", "credential-leak", "overprivileged", "auth-missing", "ssrf", "rce-vectors", "supply-chain"]; export type RuleCategory = (typeof RULE_CATEGORIES)[number]; /** A single MCP server entry, normalized across client config formats. */ export interface McpServerConfig { /** Key under which the server is registered in the client config. */ name: string; /** stdio transport */ command?: string; args?: string[]; env?: Record; /** remote transports (sse / streamable http) */ url?: string; headers?: Record; /** Tool-name allowlist (Amp skill convention) limiting which tools the server exposes. */ includeTools?: string[]; transport?: string; /** Path of the config file this entry came from. */ source: string; /** Client that owns the config file (claude, cursor, vscode, codex, opencode, unknown). */ client: string; } /** A tool surface as seen by the agent (from a live server or a lockfile). */ export interface ToolSurface { name: string; description: string; inputSchema: unknown; } export interface Finding { ruleId: string; category: RuleCategory; severity: Severity; message: string; /** Server name or file the finding applies to. */ target: string; /** Optional file location. */ file?: string; line?: number; /** Extra structured detail. */ detail?: string; } export interface ScanResult { findings: Finding[]; scannedServers: string[]; scannedFiles: string[]; } export declare const ToolLockSchema: z.ZodObject<{ name: z.ZodString; nameHash: z.ZodString; descriptionHash: z.ZodString; inputSchemaHash: z.ZodString; }, z.core.$strip>; export type ToolLock = z.infer; export declare const ServerLockSchema: z.ZodObject<{ surfaceHash: z.ZodString; tools: z.ZodArray>; }, z.core.$strip>; export type ServerLock = z.infer; export declare const SkillsLockSchema: z.ZodObject<{ surfaceHash: z.ZodString; files: z.ZodRecord; }, z.core.$strip>; export type SkillsLock = z.infer; export declare const LockfileSchema: z.ZodObject<{ lockfileVersion: z.ZodUnion, z.ZodLiteral<2>]>; generatedBy: z.ZodString; generatedAt: z.ZodString; servers: z.ZodRecord>; }, z.core.$strip>>; skills: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type Lockfile = z.infer;