import type { Client, CallToolRequestOptions, } from "@modelcontextprotocol/client"; import type { VerifierCommands } from "./verify-commands.mjs"; /** Keep the opened target and its owned stdio server alive through verification. */ export function withArtifactMcp( target: string, verify: (client: Client) => Promise, options?: { readonly commands?: VerifierCommands; readonly signal?: AbortSignal; }, ): Promise; /** Call with the server's advertised schema; callers cannot replace it. */ export function artifactMcpCall( client: Client, parameters: Parameters[0], options?: Omit, ): ReturnType;