import { type CheckContext, type ObservedCheck } from "./base.js"; export interface ListCheckConfig { /** Capability name: "tools" or "prompts" */ capability: "tools" | "prompts"; /** The endpoint name used in evidence, e.g. "tools/list" */ endpoint: string; /** Calls the appropriate list method on the MCP client */ listItems: (context: CheckContext) => Promise; /** Validates that a single item has the minimal expected shape */ hasMinimalShape: (item: TItem) => boolean; /** Extracts the display name/identifier from an item */ getItemName: (item: TItem) => string; /** Optionally extracts the schema/definition object for drift detection */ getItemSchema?: (item: TItem) => object | undefined; } export declare function runListCheck(config: ListCheckConfig, context: CheckContext): Promise;